OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2012 Google Inc. | 2 * Copyright 2012 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 #include "PathOpsExtendedTest.h" | 7 #include "PathOpsExtendedTest.h" |
8 | 8 |
9 #define TEST(name) { name, #name } | 9 #define TEST(name) { name, #name } |
10 | 10 |
(...skipping 5238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5249 } | 5249 } |
5250 tiger8a_x(reporter, filename, testlines); | 5250 tiger8a_x(reporter, filename, testlines); |
5251 } | 5251 } |
5252 } | 5252 } |
5253 } | 5253 } |
5254 | 5254 |
5255 static void tiger8a_h_1(skiatest::Reporter* reporter, const char* filename) { | 5255 static void tiger8a_h_1(skiatest::Reporter* reporter, const char* filename) { |
5256 #if DEBUG_UNDER_DEVELOPMENT // tiger | 5256 #if DEBUG_UNDER_DEVELOPMENT // tiger |
5257 return; | 5257 return; |
5258 #endif | 5258 #endif |
5259 uint64_t testlines = 0x0000004310528845; // best so far: 0x0000001d14c14bb1
; | 5259 uint64_t testlines = 0x0000001d14c14bb1; // best so far: 0x0000001d14c14bb1
; |
5260 tiger8a_x(reporter, filename, testlines); | 5260 tiger8a_x(reporter, filename, testlines); |
5261 } | 5261 } |
5262 | 5262 |
5263 // tries to add same edge twice | 5263 // tries to add same edge twice |
5264 static void tiger8b(skiatest::Reporter* reporter, const char* filename) { | 5264 static void tiger8b(skiatest::Reporter* reporter, const char* filename) { |
5265 #if DEBUG_UNDER_DEVELOPMENT // tiger | 5265 #if DEBUG_UNDER_DEVELOPMENT // tiger |
5266 return; | 5266 return; |
5267 #endif | 5267 #endif |
5268 SkPath path; | 5268 SkPath path; |
5269 path.moveTo(SkBits2Float(0x43f72ca1), SkBits2Float(0x43609572)); // 494.349f, 2
24.584f | 5269 path.moveTo(SkBits2Float(0x43f72ca1), SkBits2Float(0x43609572)); // 494.349f, 2
24.584f |
(...skipping 980 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6250 | 6250 |
6251 DEF_TEST(PathOpsSimplify, reporter) { | 6251 DEF_TEST(PathOpsSimplify, reporter) { |
6252 if (runSubTests && runSubTestsFirst) { | 6252 if (runSubTests && runSubTestsFirst) { |
6253 RunTestSet(reporter, subTests, subTestCount, firstSubTest, nullptr, stop
Test, runReverse); | 6253 RunTestSet(reporter, subTests, subTestCount, firstSubTest, nullptr, stop
Test, runReverse); |
6254 } | 6254 } |
6255 RunTestSet(reporter, tests, testCount, firstTest, skipTest, stopTest, runRev
erse); | 6255 RunTestSet(reporter, tests, testCount, firstTest, skipTest, stopTest, runRev
erse); |
6256 if (runSubTests && !runSubTestsFirst) { | 6256 if (runSubTests && !runSubTestsFirst) { |
6257 RunTestSet(reporter, subTests, subTestCount, firstSubTest, nullptr, stop
Test, runReverse); | 6257 RunTestSet(reporter, subTests, subTestCount, firstSubTest, nullptr, stop
Test, runReverse); |
6258 } | 6258 } |
6259 } | 6259 } |
OLD | NEW |