H A D | test_quicksort.cpp | 84 int* test_array = NULL; local 86 EXPECT_TRUE(sort_and_compare(test_array, expected_array, 0, test_comparator)); 89 int test_array[] = {3}; local 91 EXPECT_TRUE(sort_and_compare(test_array, expected_array, 1, test_comparator)); 94 int test_array[] = {3,2}; local 96 EXPECT_TRUE(sort_and_compare(test_array, expected_array, 2, test_comparator)); 99 int test_array[] = {3,2,1}; local 101 EXPECT_TRUE(sort_and_compare(test_array, expected_array, 3, test_comparator)); 104 int test_array[] = {4,3,2,1}; local 106 EXPECT_TRUE(sort_and_compare(test_array, expected_arra 109 int test_array[] = {7,1,5,3,6,9,8,2,4,0}; local 114 int test_array[] = {4,4,1,4}; local 119 int test_array[] = {0,1,2,3,4,5,6,7,8,9}; local 125 int test_array[] = {76,46,81,8,64,56,75,11,51,55,11,71,59,27,9,64,69,75,21,25,39,40,44,32,7,8,40,41,24,78,24,74,9,65,28,6,40,31,22,13,27,82}; local 130 int test_array[] = {2,8,1,4}; local 139 int test_array[] = {1, 4, 8}; local 144 int test_array[] = {1, 7, 9, 4, 8, 2}; local 149 int test_array[] = {1, 9, 7, 4, 2, 8}; local 154 int test_array[] = {7, 9, 1, 2, 8, 4}; local 159 int test_array[] = {7, 1, 9, 2, 4, 8}; local 164 int test_array[] = {9, 1, 7, 4, 8, 2}; local 169 int test_array[] = {9, 7, 1, 4, 2, 8}; local 178 int* test_array = NEW_C_HEAP_ARRAY(int, length, mtInternal); local [all...] |