A program to test sorting routines. More...
A program to test sorting routines.
This test program creates rank and index arrays for an unordered list of numbers, and then sorts the list. The data for the list are generated randomly, and the output is to stdout
if -v
is specified (unless redirected). SortTest
returns 0 if it executes successfully, and 1 if any of the subroutines fail.
Code | Explanation |
---|---|
0 | Success, normal exit. |
1 | Subroutine failed. |
Definition in file SortTest.c.