diff options
author | 2013-01-29 20:28:49 +0000 | |
---|---|---|
committer | 2013-01-29 20:28:49 +0000 | |
commit | aa35831d1d0e4c798a63fe772430adc4f3a038cd (patch) | |
tree | 1bff42e085bfcf17f906982d9924a81b5b5a79c3 /experimental/Intersection/QuadraticReduceOrder_Test.cpp | |
parent | 81d3ce0b63bc87769fd543c2af79e7233d266d09 (diff) |
shape ops work in progress
git-svn-id: http://skia.googlecode.com/svn/trunk@7453 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'experimental/Intersection/QuadraticReduceOrder_Test.cpp')
-rw-r--r-- | experimental/Intersection/QuadraticReduceOrder_Test.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/experimental/Intersection/QuadraticReduceOrder_Test.cpp b/experimental/Intersection/QuadraticReduceOrder_Test.cpp index 3f49b95267..abf8fa7dc6 100644 --- a/experimental/Intersection/QuadraticReduceOrder_Test.cpp +++ b/experimental/Intersection/QuadraticReduceOrder_Test.cpp @@ -8,7 +8,6 @@ #include "Intersection_Tests.h" #include "QuadraticIntersection_TestData.h" #include "TestUtilities.h" -#include "SkTypes.h" static const Quadratic testSet[] = { {{1, 1}, {2, 2}, {1, 1.000003}}, @@ -43,8 +42,8 @@ static void standardTestCases() { run = RunQuadraticLines; firstTestIndex = 1; #endif - int firstQuadraticLineTest = run == RunAll ? 0 : run == RunQuadraticLines ? firstTestIndex : INT_MAX; - int firstQuadraticModLineTest = run == RunAll ? 0 : run == RunQuadraticModLines ? firstTestIndex : INT_MAX; + int firstQuadraticLineTest = run == RunAll ? 0 : run == RunQuadraticLines ? firstTestIndex : SK_MaxS32; + int firstQuadraticModLineTest = run == RunAll ? 0 : run == RunQuadraticModLines ? firstTestIndex : SK_MaxS32; for (index = firstQuadraticLineTest; index < quadraticLines_count; ++index) { const Quadratic& quad = quadraticLines[index]; |