OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 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 #include "PathOpsTestCommon.h" | 8 #include "PathOpsTestCommon.h" |
9 | 9 |
10 #define TEST(name) { name, #name } | 10 #define TEST(name) { name, #name } |
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
447 path.quadTo(SkBits2Float(0xc2564948), SkBits2Float(0x413644ce), SkBits2Float(0xc
24fc102), SkBits2Float(0x41082296)); | 447 path.quadTo(SkBits2Float(0xc2564948), SkBits2Float(0x413644ce), SkBits2Float(0xc
24fc102), SkBits2Float(0x41082296)); |
448 path.quadTo(SkBits2Float(0xc24938bd), SkBits2Float(0x40b400bc), SkBits2Float(0xc
23c727f), SkBits2Float(0x4097b660)); | 448 path.quadTo(SkBits2Float(0xc24938bd), SkBits2Float(0x40b400bc), SkBits2Float(0xc
23c727f), SkBits2Float(0x4097b660)); |
449 path.quadTo(SkBits2Float(0xc22fac40), SkBits2Float(0x4076d800), SkBits2Float(0xc
22423b2), SkBits2Float(0x40afae2c)); | 449 path.quadTo(SkBits2Float(0xc22fac40), SkBits2Float(0x4076d800), SkBits2Float(0xc
22423b2), SkBits2Float(0x40afae2c)); |
450 path.quadTo(SkBits2Float(0xc2189b24), SkBits2Float(0x40e3f058), SkBits2Float(0xc
21511d9), SkBits2Float(0x41251125)); | 450 path.quadTo(SkBits2Float(0xc2189b24), SkBits2Float(0x40e3f058), SkBits2Float(0xc
21511d9), SkBits2Float(0x41251125)); |
451 path.quadTo(SkBits2Float(0xc211888d), SkBits2Float(0x41582a1e), SkBits2Float(0xc
21810d2), SkBits2Float(0x4183262b)); | 451 path.quadTo(SkBits2Float(0xc211888d), SkBits2Float(0x41582a1e), SkBits2Float(0xc
21810d2), SkBits2Float(0x4183262b)); |
452 path.quadTo(SkBits2Float(0xc21e9918), SkBits2Float(0x419a3747), SkBits2Float(0xc
22b5f56), SkBits2Float(0x41a149de)); | 452 path.quadTo(SkBits2Float(0xc21e9918), SkBits2Float(0x419a3747), SkBits2Float(0xc
22b5f56), SkBits2Float(0x41a149de)); |
453 path.quadTo(SkBits2Float(0xc2382594), SkBits2Float(0x41a85c76), SkBits2Float(0xc
243ae22), SkBits2Float(0x419b4beb)); | 453 path.quadTo(SkBits2Float(0xc2382594), SkBits2Float(0x41a85c76), SkBits2Float(0xc
243ae22), SkBits2Float(0x419b4beb)); |
454 path.close(); | 454 path.close(); |
455 | 455 |
456 SkPath path2(path); | 456 SkPath path2(path); |
457 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); | 457 testPathOpCheck(reporter, path1, path2, (SkPathOp) 2, filename, FLAGS_runFai
l); |
458 } | 458 } |
459 | 459 |
460 | 460 |
461 static void fuzz763_378a_1(skiatest::Reporter* reporter, const char* filename) { | 461 static void fuzz763_378a_1(skiatest::Reporter* reporter, const char* filename) { |
462 SkPath path; | 462 SkPath path; |
463 path.setFillType((SkPath::FillType) 1); | 463 path.setFillType((SkPath::FillType) 1); |
464 path.moveTo(SkBits2Float(0xc23c98fa), SkBits2Float(0x408b3eec)); | 464 path.moveTo(SkBits2Float(0xc23c98fa), SkBits2Float(0x408b3eec)); |
465 path.quadTo(SkBits2Float(0xc22fcb5c), SkBits2Float(0x405f9a18), SkBits2Float(0xc
22450bb), SkBits2Float(0x40a4d200)); | 465 path.quadTo(SkBits2Float(0xc22fcb5c), SkBits2Float(0x405f9a18), SkBits2Float(0xc
22450bb), SkBits2Float(0x40a4d200)); |
466 path.quadTo(SkBits2Float(0xc218d61a), SkBits2Float(0x40d9d6f4), SkBits2Float(0xc
21567dd), SkBits2Float(0x412021ef)); | 466 path.quadTo(SkBits2Float(0xc218d61a), SkBits2Float(0x40d9d6f4), SkBits2Float(0xc
21567dd), SkBits2Float(0x412021ef)); |
467 path.quadTo(SkBits2Float(0xc2155d3d), SkBits2Float(0x4120c08f), SkBits2Float(0xc
2155303), SkBits2Float(0x41215e9f)); | 467 path.quadTo(SkBits2Float(0xc2155d3d), SkBits2Float(0x4120c08f), SkBits2Float(0xc
2155303), SkBits2Float(0x41215e9f)); |
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
925 path.quadTo(SkBits2Float(0x4211413d), SkBits2Float(0x42240000), SkBits2Float(0x4
2040000), SkBits2Float(0x42240000)); | 925 path.quadTo(SkBits2Float(0x4211413d), SkBits2Float(0x42240000), SkBits2Float(0x4
2040000), SkBits2Float(0x42240000)); |
926 path.quadTo(SkBits2Float(0x41ed7d86), SkBits2Float(0x42240000), SkBits2Float(0x4
1dabec3), SkBits2Float(0x421aa09e)); | 926 path.quadTo(SkBits2Float(0x41ed7d86), SkBits2Float(0x42240000), SkBits2Float(0x4
1dabec3), SkBits2Float(0x421aa09e)); |
927 path.quadTo(SkBits2Float(0x41c80000), SkBits2Float(0x4211413d), SkBits2Float(0x4
1c80000), SkBits2Float(0x42040000)); | 927 path.quadTo(SkBits2Float(0x41c80000), SkBits2Float(0x4211413d), SkBits2Float(0x4
1c80000), SkBits2Float(0x42040000)); |
928 path.quadTo(SkBits2Float(0x41c80000), SkBits2Float(0x41ed7d86), SkBits2Float(0x4
1dabec3), SkBits2Float(0x41dabec3)); | 928 path.quadTo(SkBits2Float(0x41c80000), SkBits2Float(0x41ed7d86), SkBits2Float(0x4
1dabec3), SkBits2Float(0x41dabec3)); |
929 path.quadTo(SkBits2Float(0x41ed7d86), SkBits2Float(0x41c80000), SkBits2Float(0x4
2040000), SkBits2Float(0x41c80000)); | 929 path.quadTo(SkBits2Float(0x41ed7d86), SkBits2Float(0x41c80000), SkBits2Float(0x4
2040000), SkBits2Float(0x41c80000)); |
930 path.quadTo(SkBits2Float(0x4211413d), SkBits2Float(0x41c80000), SkBits2Float(0x4
21aa09e), SkBits2Float(0x41dabec3)); | 930 path.quadTo(SkBits2Float(0x4211413d), SkBits2Float(0x41c80000), SkBits2Float(0x4
21aa09e), SkBits2Float(0x41dabec3)); |
931 path.quadTo(SkBits2Float(0x42240000), SkBits2Float(0x41ed7d86), SkBits2Float(0x4
2240000), SkBits2Float(0x42040000)); | 931 path.quadTo(SkBits2Float(0x42240000), SkBits2Float(0x41ed7d86), SkBits2Float(0x4
2240000), SkBits2Float(0x42040000)); |
932 path.close(); | 932 path.close(); |
933 | 933 |
934 SkPath path2(path); | 934 SkPath path2(path); |
935 testPathOpCheck(reporter, path1, path2, (SkPathOp) 2, filename, FLAGS_runFai
l); | 935 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
936 } | 936 } |
937 | 937 |
938 static void fuzz763_24588(skiatest::Reporter* reporter, const char* filename) { | 938 static void fuzz763_24588(skiatest::Reporter* reporter, const char* filename) { |
939 SkPath path; | 939 SkPath path; |
940 path.setFillType((SkPath::FillType) 1); | 940 path.setFillType((SkPath::FillType) 1); |
941 path.moveTo(SkBits2Float(0x413a5194), SkBits2Float(0xc24d4e33)); // 11.6449f, -
51.3264f | 941 path.moveTo(SkBits2Float(0x413a5194), SkBits2Float(0xc24d4e33)); // 11.6449f, -
51.3264f |
942 path.quadTo(SkBits2Float(0x4169f3fc), SkBits2Float(0xc2532032), SkBits2Float(0x4
18e0c8b), SkBits2Float(0xc24ed218)); // 14.6221f, -52.7814f, 17.7561f, -51.7052
f | 942 path.quadTo(SkBits2Float(0x4169f3fc), SkBits2Float(0xc2532032), SkBits2Float(0x4
18e0c8b), SkBits2Float(0xc24ed218)); // 14.6221f, -52.7814f, 17.7561f, -51.7052
f |
943 path.quadTo(SkBits2Float(0x41a71f17), SkBits2Float(0xc24a83ff), SkBits2Float(0x4
1b2c316), SkBits2Float(0xc23e9b65)); // 20.8902f, -50.6289f, 22.3453f, -47.6518
f | 943 path.quadTo(SkBits2Float(0x41a71f17), SkBits2Float(0xc24a83ff), SkBits2Float(0x4
1b2c316), SkBits2Float(0xc23e9b65)); // 20.8902f, -50.6289f, 22.3453f, -47.6518
f |
944 path.quadTo(SkBits2Float(0x41be6714), SkBits2Float(0xc232b2cb), SkBits2Float(0x4
1b5cae0), SkBits2Float(0xc2262985)); // 23.8003f, -44.6746f, 22.7241f, -41.5405
f | 944 path.quadTo(SkBits2Float(0x41be6714), SkBits2Float(0xc232b2cb), SkBits2Float(0x4
1b5cae0), SkBits2Float(0xc2262985)); // 23.8003f, -44.6746f, 22.7241f, -41.5405
f |
945 path.quadTo(SkBits2Float(0x41ad2ead), SkBits2Float(0xc219a03f), SkBits2Float(0x4
1955d79), SkBits2Float(0xc213ce40)); // 21.6478f, -38.4065f, 18.6706f, -36.9514
f | 945 path.quadTo(SkBits2Float(0x41ad2ead), SkBits2Float(0xc219a03f), SkBits2Float(0x4
1955d79), SkBits2Float(0xc213ce40)); // 21.6478f, -38.4065f, 18.6706f, -36.9514
f |
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1521 path.quadTo(SkBits2Float(0xc256a4ca), SkBits2Float(0x412f6908), SkBits2Float(0xc
25004f8), SkBits2Float(0x41017cac)); // -53.6609f, 10.9631f, -52.0049f, 8.09294
f | 1521 path.quadTo(SkBits2Float(0xc256a4ca), SkBits2Float(0x412f6908), SkBits2Float(0xc
25004f8), SkBits2Float(0x41017cac)); // -53.6609f, 10.9631f, -52.0049f, 8.09294
f |
1522 path.quadTo(SkBits2Float(0xc2496525), SkBits2Float(0x40a7209c), SkBits2Float(0xc
23c97c4), SkBits2Float(0x408ba7a8)); // -50.3488f, 5.22273f, -47.1482f, 4.36422
f | 1522 path.quadTo(SkBits2Float(0xc2496525), SkBits2Float(0x40a7209c), SkBits2Float(0xc
23c97c4), SkBits2Float(0x408ba7a8)); // -50.3488f, 5.22273f, -47.1482f, 4.36422
f |
1523 path.quadTo(SkBits2Float(0xc22fca64), SkBits2Float(0x40605d58), SkBits2Float(0xc
2244f4d), SkBits2Float(0x40a52d40)); // -43.9476f, 3.5057f, -41.0774f, 5.16177f | 1523 path.quadTo(SkBits2Float(0xc22fca64), SkBits2Float(0x40605d58), SkBits2Float(0xc
2244f4d), SkBits2Float(0x40a52d40)); // -43.9476f, 3.5057f, -41.0774f, 5.16177f |
1524 path.quadTo(SkBits2Float(0xc218d435), SkBits2Float(0x40da2bd2), SkBits2Float(0xc
2156516), SkBits2Float(0x41204b6b)); // -38.2072f, 6.81785f, -37.3487f, 10.0184
f | 1524 path.quadTo(SkBits2Float(0xc218d435), SkBits2Float(0x40da2bd2), SkBits2Float(0xc
2156516), SkBits2Float(0x41204b6b)); // -38.2072f, 6.81785f, -37.3487f, 10.0184
f |
1525 path.quadTo(SkBits2Float(0xc211f5f7), SkBits2Float(0x415380eb), SkBits2Float(0xc
21895c9), SkBits2Float(0x4180b6a4)); // -36.4902f, 13.219f, -38.1463f, 16.0892f | 1525 path.quadTo(SkBits2Float(0xc211f5f7), SkBits2Float(0x415380eb), SkBits2Float(0xc
21895c9), SkBits2Float(0x4180b6a4)); // -36.4902f, 13.219f, -38.1463f, 16.0892f |
1526 path.quadTo(SkBits2Float(0xc21f359c), SkBits2Float(0x4197acd2), SkBits2Float(0xc
22c02fc), SkBits2Float(0x419e8b10)); // -39.8024f, 18.9594f, -43.0029f, 19.8179
f | 1526 path.quadTo(SkBits2Float(0xc21f359c), SkBits2Float(0x4197acd2), SkBits2Float(0xc
22c02fc), SkBits2Float(0x419e8b10)); // -39.8024f, 18.9594f, -43.0029f, 19.8179
f |
1527 path.quadTo(SkBits2Float(0xc238d05c), SkBits2Float(0x41a56952), SkBits2Float(0xc
2444b74), SkBits2Float(0x419829ad)); // -46.2035f, 20.6764f, -49.0737f, 19.0203
f | 1527 path.quadTo(SkBits2Float(0xc238d05c), SkBits2Float(0x41a56952), SkBits2Float(0xc
2444b74), SkBits2Float(0x419829ad)); // -46.2035f, 20.6764f, -49.0737f, 19.0203
f |
1528 path.close(); | 1528 path.close(); |
1529 | 1529 |
1530 SkPath path2(path); | 1530 SkPath path2(path); |
1531 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); | 1531 testPathOpCheck(reporter, path1, path2, (SkPathOp) 2, filename, FLAGS_runFai
l); |
1532 } | 1532 } |
1533 | 1533 |
1534 static void fuzz763_34974(skiatest::Reporter* reporter, const char* filename) { | 1534 static void fuzz763_34974(skiatest::Reporter* reporter, const char* filename) { |
1535 SkPath path; | 1535 SkPath path; |
1536 path.setFillType((SkPath::FillType) 1); | 1536 path.setFillType((SkPath::FillType) 1); |
1537 #if 00 | 1537 #if 00 |
1538 path.moveTo(SkBits2Float(0x41015326), SkBits2Float(0xc2500694)); | 1538 path.moveTo(SkBits2Float(0x41015326), SkBits2Float(0xc2500694)); |
1539 path.quadTo(SkBits2Float(0x412f3e30), SkBits2Float(0xc256a6fa), SkBits2Float(0x4
1627462), SkBits2Float(0xc253387e)); | 1539 path.quadTo(SkBits2Float(0x412f3e30), SkBits2Float(0xc256a6fa), SkBits2Float(0x4
1627462), SkBits2Float(0xc253387e)); |
1540 path.quadTo(SkBits2Float(0x418ad549), SkBits2Float(0xc24fca02), SkBits2Float(0x4
1981613), SkBits2Float(0xc2444f40)); | 1540 path.quadTo(SkBits2Float(0x418ad549), SkBits2Float(0xc24fca02), SkBits2Float(0x4
1981613), SkBits2Float(0xc2444f40)); |
1541 path.quadTo(SkBits2Float(0x41a556de), SkBits2Float(0xc238d47d), SkBits2Float(0x4
19e79e6), SkBits2Float(0xc22c06f0)); | 1541 path.quadTo(SkBits2Float(0x41a556de), SkBits2Float(0xc238d47d), SkBits2Float(0x4
19e79e6), SkBits2Float(0xc22c06f0)); |
(...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2191 path.quadTo(SkBits2Float(0x42581210), SkBits2Float(0x4110b128), SkBits2Float(0x4
24dc3b4), SkBits2Float(0x41320868)); | 2191 path.quadTo(SkBits2Float(0x42581210), SkBits2Float(0x4110b128), SkBits2Float(0x4
24dc3b4), SkBits2Float(0x41320868)); |
2192 path.quadTo(SkBits2Float(0x4243755a), SkBits2Float(0x41535fa6), SkBits2Float(0x4
23646ec), SkBits2Float(0x414dcc96)); | 2192 path.quadTo(SkBits2Float(0x4243755a), SkBits2Float(0x41535fa6), SkBits2Float(0x4
23646ec), SkBits2Float(0x414dcc96)); |
2193 path.quadTo(SkBits2Float(0x4229187e), SkBits2Float(0x41483989), SkBits2Float(0x4
220c2ae), SkBits2Float(0x411f001d)); | 2193 path.quadTo(SkBits2Float(0x4229187e), SkBits2Float(0x41483989), SkBits2Float(0x4
220c2ae), SkBits2Float(0x411f001d)); |
2194 path.quadTo(SkBits2Float(0x42186cde), SkBits2Float(0x40eb8d66), SkBits2Float(0x4
219d1a2), SkBits2Float(0x408219f4)); | 2194 path.quadTo(SkBits2Float(0x42186cde), SkBits2Float(0x40eb8d66), SkBits2Float(0x4
219d1a2), SkBits2Float(0x408219f4)); |
2195 path.quadTo(SkBits2Float(0x421b3666), SkBits2Float(0x3f453420), SkBits2Float(0x4
22584c1), SkBits2Float(0xbfa81fe0)); | 2195 path.quadTo(SkBits2Float(0x421b3666), SkBits2Float(0x3f453420), SkBits2Float(0x4
22584c1), SkBits2Float(0xbfa81fe0)); |
2196 path.quadTo(SkBits2Float(0x422fd31c), SkBits2Float(0xc0596cf0), SkBits2Float(0x4
23d018a), SkBits2Float(0xc04320b0)); | 2196 path.quadTo(SkBits2Float(0x422fd31c), SkBits2Float(0xc0596cf0), SkBits2Float(0x4
23d018a), SkBits2Float(0xc04320b0)); |
2197 path.quadTo(SkBits2Float(0x424a2ff8), SkBits2Float(0xc02cd470), SkBits2Float(0x4
25285c7), SkBits2Float(0xbdfdd900)); | 2197 path.quadTo(SkBits2Float(0x424a2ff8), SkBits2Float(0xc02cd470), SkBits2Float(0x4
25285c7), SkBits2Float(0xbdfdd900)); |
2198 path.close(); | 2198 path.close(); |
2199 | 2199 |
2200 SkPath path2(path); | 2200 SkPath path2(path); |
2201 testPathOpCheck(reporter, path1, path2, (SkPathOp) 2, filename, FLAGS_runFai
l); | 2201 testPathOpFlaky(reporter, path1, path2, (SkPathOp) 2, filename); |
2202 } | 2202 } |
2203 | 2203 |
2204 static void fuzz763_2674194(skiatest::Reporter* reporter, const char* filename)
{ | 2204 static void fuzz763_2674194(skiatest::Reporter* reporter, const char* filename)
{ |
2205 SkPath path; | 2205 SkPath path; |
2206 path.setFillType((SkPath::FillType) 1); | 2206 path.setFillType((SkPath::FillType) 1); |
2207 path.moveTo(SkBits2Float(0xbfb16e10), SkBits2Float(0xc252733b)); | 2207 path.moveTo(SkBits2Float(0xbfb16e10), SkBits2Float(0xc252733b)); |
2208 path.quadTo(SkBits2Float(0x3f91df50), SkBits2Float(0xc25b07b4), SkBits2Float(0x4
08e27f4), SkBits2Float(0xc259f3f8)); | 2208 path.quadTo(SkBits2Float(0x3f91df50), SkBits2Float(0xc25b07b4), SkBits2Float(0x4
08e27f4), SkBits2Float(0xc259f3f8)); |
2209 path.quadTo(SkBits2Float(0x40f7d814), SkBits2Float(0xc258e03e), SkBits2Float(0x4
11e3df0), SkBits2Float(0xc24ec5d2)); | 2209 path.quadTo(SkBits2Float(0x40f7d814), SkBits2Float(0xc258e03e), SkBits2Float(0x4
11e3df0), SkBits2Float(0xc24ec5d2)); |
2210 path.quadTo(SkBits2Float(0x41408fd4), SkBits2Float(0xc244ab67), SkBits2Float(0x4
13c40e6), SkBits2Float(0xc2377562)); | 2210 path.quadTo(SkBits2Float(0x41408fd4), SkBits2Float(0xc244ab67), SkBits2Float(0x4
13c40e6), SkBits2Float(0xc2377562)); |
2211 path.quadTo(SkBits2Float(0x4137f1f8), SkBits2Float(0xc22a3f5f), SkBits2Float(0x4
10f884c), SkBits2Float(0xc221aae6)); | 2211 path.quadTo(SkBits2Float(0x4137f1f8), SkBits2Float(0xc22a3f5f), SkBits2Float(0x4
10f884c), SkBits2Float(0xc221aae6)); |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2384 path.quadTo(SkBits2Float(0x4211413d), SkBits2Float(0x42240000), SkBits2Float(0x4
2040000), SkBits2Float(0x42240000)); // 36.3137f, 41, 33, 41 | 2384 path.quadTo(SkBits2Float(0x4211413d), SkBits2Float(0x42240000), SkBits2Float(0x4
2040000), SkBits2Float(0x42240000)); // 36.3137f, 41, 33, 41 |
2385 path.quadTo(SkBits2Float(0x41ed7d86), SkBits2Float(0x42240000), SkBits2Float(0x4
1dabec3), SkBits2Float(0x421aa09e)); // 29.6863f, 41, 27.3431f, 38.6569f | 2385 path.quadTo(SkBits2Float(0x41ed7d86), SkBits2Float(0x42240000), SkBits2Float(0x4
1dabec3), SkBits2Float(0x421aa09e)); // 29.6863f, 41, 27.3431f, 38.6569f |
2386 path.quadTo(SkBits2Float(0x41c80000), SkBits2Float(0x4211413d), SkBits2Float(0x4
1c80000), SkBits2Float(0x42040000)); // 25, 36.3137f, 25, 33 | 2386 path.quadTo(SkBits2Float(0x41c80000), SkBits2Float(0x4211413d), SkBits2Float(0x4
1c80000), SkBits2Float(0x42040000)); // 25, 36.3137f, 25, 33 |
2387 path.quadTo(SkBits2Float(0x41c80000), SkBits2Float(0x41ed7d86), SkBits2Float(0x4
1dabec3), SkBits2Float(0x41dabec3)); // 25, 29.6863f, 27.3431f, 27.3431f | 2387 path.quadTo(SkBits2Float(0x41c80000), SkBits2Float(0x41ed7d86), SkBits2Float(0x4
1dabec3), SkBits2Float(0x41dabec3)); // 25, 29.6863f, 27.3431f, 27.3431f |
2388 path.quadTo(SkBits2Float(0x41ed7d86), SkBits2Float(0x41c80000), SkBits2Float(0x4
2040000), SkBits2Float(0x41c80000)); // 29.6863f, 25, 33, 25 | 2388 path.quadTo(SkBits2Float(0x41ed7d86), SkBits2Float(0x41c80000), SkBits2Float(0x4
2040000), SkBits2Float(0x41c80000)); // 29.6863f, 25, 33, 25 |
2389 path.quadTo(SkBits2Float(0x4211413d), SkBits2Float(0x41c80000), SkBits2Float(0x4
21aa09e), SkBits2Float(0x41dabec3)); // 36.3137f, 25, 38.6569f, 27.3431f | 2389 path.quadTo(SkBits2Float(0x4211413d), SkBits2Float(0x41c80000), SkBits2Float(0x4
21aa09e), SkBits2Float(0x41dabec3)); // 36.3137f, 25, 38.6569f, 27.3431f |
2390 path.quadTo(SkBits2Float(0x42240000), SkBits2Float(0x41ed7d86), SkBits2Float(0x4
2240000), SkBits2Float(0x42040000)); // 41, 29.6863f, 41, 33 | 2390 path.quadTo(SkBits2Float(0x42240000), SkBits2Float(0x41ed7d86), SkBits2Float(0x4
2240000), SkBits2Float(0x42040000)); // 41, 29.6863f, 41, 33 |
2391 path.close(); | 2391 path.close(); |
2392 | 2392 |
2393 SkPath path2(path); | 2393 SkPath path2(path); |
2394 testPathOpCheck(reporter, path1, path2, (SkPathOp) 2, filename, FLAGS_runFai
l); | 2394 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
2395 } | 2395 } |
2396 | 2396 |
2397 static void (*skipTest)(skiatest::Reporter* , const char* filename) = 0; | 2397 static void (*skipTest)(skiatest::Reporter* , const char* filename) = 0; |
2398 static void (*firstTest)(skiatest::Reporter* , const char* filename) = fuzz763_2
674194; | 2398 static void (*firstTest)(skiatest::Reporter* , const char* filename) = 0; |
2399 static void (*stopTest)(skiatest::Reporter* , const char* filename) = 0; | 2399 static void (*stopTest)(skiatest::Reporter* , const char* filename) = 0; |
2400 | 2400 |
2401 static struct TestDesc tests[] = { | 2401 static struct TestDesc tests[] = { |
2402 TEST(fuzz763_10022998), | 2402 TEST(fuzz763_10022998), |
2403 TEST(fuzz763_2674194), | 2403 TEST(fuzz763_2674194), |
2404 TEST(fuzz763_5485218), | 2404 TEST(fuzz763_5485218), |
2405 TEST(fuzz763_1026368), | 2405 TEST(fuzz763_1026368), |
2406 TEST(fuzz763_3283699), | 2406 TEST(fuzz763_3283699), |
2407 TEST(fuzz763_6411089), | 2407 TEST(fuzz763_6411089), |
2408 TEST(fuzz763_4628016), | 2408 TEST(fuzz763_4628016), |
(...skipping 25 matching lines...) Expand all Loading... |
2434 static const size_t testCount = SK_ARRAY_COUNT(tests); | 2434 static const size_t testCount = SK_ARRAY_COUNT(tests); |
2435 | 2435 |
2436 static bool runReverse = false; | 2436 static bool runReverse = false; |
2437 | 2437 |
2438 DEF_TEST(PathOpsFuzz763, reporter) { | 2438 DEF_TEST(PathOpsFuzz763, reporter) { |
2439 #if DEBUG_SHOW_TEST_NAME | 2439 #if DEBUG_SHOW_TEST_NAME |
2440 strncpy(DEBUG_FILENAME_STRING, "", DEBUG_FILENAME_STRING_LENGTH); | 2440 strncpy(DEBUG_FILENAME_STRING, "", DEBUG_FILENAME_STRING_LENGTH); |
2441 #endif | 2441 #endif |
2442 RunTestSet(reporter, tests, testCount, firstTest, skipTest, stopTest, runRev
erse); | 2442 RunTestSet(reporter, tests, testCount, firstTest, skipTest, stopTest, runRev
erse); |
2443 } | 2443 } |
OLD | NEW |