| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 Google Inc. |
| 4 * | 4 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
| 7 */ | 7 */ |
| 8 #include "Test.h" | 8 #include "Test.h" |
| 9 #include "SkRandom.h" | 9 #include "SkRandom.h" |
| 10 #include "SkTSort.h" | 10 #include "SkTSort.h" |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 | 56 |
| 57 memcpy(workingArray, randomArray, sizeof(randomArray)); | 57 memcpy(workingArray, randomArray, sizeof(randomArray)); |
| 58 SkTQSort<int>(workingArray, workingArray + count - 1); | 58 SkTQSort<int>(workingArray, workingArray + count - 1); |
| 59 check_sort(reporter, "Quick", workingArray, sortedArray, count); | 59 check_sort(reporter, "Quick", workingArray, sortedArray, count); |
| 60 } | 60 } |
| 61 } | 61 } |
| 62 | 62 |
| 63 // need tests for SkStrSearch | 63 // need tests for SkStrSearch |
| 64 | 64 |
| 65 #include "TestClassDef.h" | 65 #include "TestClassDef.h" |
| 66 DEFINE_TESTCLASS("Sort", SortTestClass, TestSort) | 66 DEFINE_TESTCLASS_SHORT(TestSort) |
| OLD | NEW |