| 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 5328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5339 path.quadTo(SkBits2Float(0x41dbce01), SkBits2Float(0x41d9ae59), SkBits2Float(0x4
1dc285e), SkBits2Float(0x41d952ce)); | 5339 path.quadTo(SkBits2Float(0x41dbce01), SkBits2Float(0x41d9ae59), SkBits2Float(0x4
1dc285e), SkBits2Float(0x41d952ce)); |
| 5340 path.quadTo(SkBits2Float(0x41dc55b6), SkBits2Float(0x41d924df), SkBits2Float(0x4
1dc82cd), SkBits2Float(0x41d8f7cd)); | 5340 path.quadTo(SkBits2Float(0x41dc55b6), SkBits2Float(0x41d924df), SkBits2Float(0x4
1dc82cd), SkBits2Float(0x41d8f7cd)); |
| 5341 path.quadTo(SkBits2Float(0x41dcaf1e), SkBits2Float(0x41d8ca01), SkBits2Float(0x4
1dcdc4c), SkBits2Float(0x41d89bf0)); | 5341 path.quadTo(SkBits2Float(0x41dcaf1e), SkBits2Float(0x41d8ca01), SkBits2Float(0x4
1dcdc4c), SkBits2Float(0x41d89bf0)); |
| 5342 path.quadTo(SkBits2Float(0x41ef6c33), SkBits2Float(0x41c5aec5), SkBits2Float(0x4
204f72e), SkBits2Float(0x41c56cd2)); | 5342 path.quadTo(SkBits2Float(0x41ef6c33), SkBits2Float(0x41c5aec5), SkBits2Float(0x4
204f72e), SkBits2Float(0x41c56cd2)); |
| 5343 path.close(); | 5343 path.close(); |
| 5344 // DEBUG_UNDER_DEVELOPMENT fuzz763_4713_b disable expectation check for now | 5344 // DEBUG_UNDER_DEVELOPMENT fuzz763_4713_b disable expectation check for now |
| 5345 testSimplifyCheck(reporter, path, filename, !FLAGS_runFail); | 5345 testSimplifyCheck(reporter, path, filename, !FLAGS_runFail); |
| 5346 } | 5346 } |
| 5347 | 5347 |
| 5348 static void dean4(skiatest::Reporter* reporter, const char* filename) { | 5348 static void dean4(skiatest::Reporter* reporter, const char* filename) { |
| 5349 // FIXME: This fails unexpectedly when GYP_DEFINES="skia_fast=1" is set on a z84
0 calibre machine |
| 5350 #if DEBUG_UNDER_DEVELOPMENT |
| 5351 return; |
| 5352 #endif |
| 5349 SkPath path; | 5353 SkPath path; |
| 5350 | 5354 |
| 5351 // start region | 5355 // start region |
| 5352 // start loop, contour: 1 | 5356 // start loop, contour: 1 |
| 5353 // Segment 1145.3381097316742 2017.6783947944641 0.0000000000000 0.00000000000
00 0.0000000000000 0.0000000000000 1145.3381097316742 2017.0033947825432 | 5357 // Segment 1145.3381097316742 2017.6783947944641 0.0000000000000 0.00000000000
00 0.0000000000000 0.0000000000000 1145.3381097316742 2017.0033947825432 |
| 5354 path.moveTo(1145.3381347656250, 2017.6783447265625); | 5358 path.moveTo(1145.3381347656250, 2017.6783447265625); |
| 5355 path.lineTo(1145.3381347656250, 2017.0034179687500); | 5359 path.lineTo(1145.3381347656250, 2017.0034179687500); |
| 5356 // Segment 1145.3381097316742 2017.0033947825432 0.0000000000000 0.00000000000
00 0.0000000000000 0.0000000000000 1143.6927231521568 2017.0033947825432 | 5360 // Segment 1145.3381097316742 2017.0033947825432 0.0000000000000 0.00000000000
00 0.0000000000000 0.0000000000000 1143.6927231521568 2017.0033947825432 |
| 5357 path.lineTo(1143.6927490234375, 2017.0034179687500); | 5361 path.lineTo(1143.6927490234375, 2017.0034179687500); |
| 5358 // Segment 1143.6927231521568 2017.0033947825432 0.0000000000000 0.00000000000
00 0.0000000000000 0.0000000000000 1144.8640675112890 2018.1589246992417 | 5362 // Segment 1143.6927231521568 2017.0033947825432 0.0000000000000 0.00000000000
00 0.0000000000000 0.0000000000000 1144.8640675112890 2018.1589246992417 |
| (...skipping 887 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6246 | 6250 |
| 6247 DEF_TEST(PathOpsSimplify, reporter) { | 6251 DEF_TEST(PathOpsSimplify, reporter) { |
| 6248 if (runSubTests && runSubTestsFirst) { | 6252 if (runSubTests && runSubTestsFirst) { |
| 6249 RunTestSet(reporter, subTests, subTestCount, firstSubTest, nullptr, stop
Test, runReverse); | 6253 RunTestSet(reporter, subTests, subTestCount, firstSubTest, nullptr, stop
Test, runReverse); |
| 6250 } | 6254 } |
| 6251 RunTestSet(reporter, tests, testCount, firstTest, skipTest, stopTest, runRev
erse); | 6255 RunTestSet(reporter, tests, testCount, firstTest, skipTest, stopTest, runRev
erse); |
| 6252 if (runSubTests && !runSubTestsFirst) { | 6256 if (runSubTests && !runSubTestsFirst) { |
| 6253 RunTestSet(reporter, subTests, subTestCount, firstSubTest, nullptr, stop
Test, runReverse); | 6257 RunTestSet(reporter, subTests, subTestCount, firstSubTest, nullptr, stop
Test, runReverse); |
| 6254 } | 6258 } |
| 6255 } | 6259 } |
| OLD | NEW |