blob: 417ef79a9837fed5aff281a3ad8e6bb686859a82 [file] [log] [blame]
This tests that sort(compareFn) is a stable sort.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS arr[0] is sortArr[0]
PASS arr[1] is sortArr[2]
PASS arr[2] is sortArr[1]
PASS arr[3] is sortArr[3]
PASS arr[0] is sortArr[0]
PASS arr[1] is sortArr[2]
PASS arr[2] is sortArr[1]
PASS arr[3] is sortArr[3]
PASS successfullyParsed is true
TEST COMPLETE