From c7a67cb57e43f8e140c7bd21318b5ad3e2db6b2f Mon Sep 17 00:00:00 2001 From: "reed@google.com" Date: Mon, 7 May 2012 14:52:12 +0000 Subject: Just use std qsort Review URL: https://codereview.appspot.com/6195052 git-svn-id: http://skia.googlecode.com/svn/trunk@3846 2bbb7eff-a529-9590-31e7-b0007b416f81 --- tests/SortTest.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'tests/SortTest.cpp') diff --git a/tests/SortTest.cpp b/tests/SortTest.cpp index 9b4642fe2a..166cff280b 100644 --- a/tests/SortTest.cpp +++ b/tests/SortTest.cpp @@ -7,7 +7,6 @@ */ #include "Test.h" #include "SkRandom.h" -#include "SkTSearch.h" #include "SkTSort.h" extern "C" { @@ -41,10 +40,6 @@ static void TestSort(skiatest::Reporter* reporter) { for (int i = 0; i < 10000; i++) { int count = rand.nextRangeU(1, SK_ARRAY_COUNT(array)); - rand_array(rand, array, count); - SkQSort(array, count, sizeof(int), compare_int); - check_sort(reporter, "Quick", array, count); - rand_array(rand, array, count); SkTHeapSort(array, count); check_sort(reporter, "Heap", array, count); -- cgit v1.2.3