Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(178)

Side by Side Diff: tests/PathOpsSimplifyTest.cpp

Issue 2300203002: interpolation of coincidence must be local to a single span (Closed)
Patch Set: fix another warning Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/pathops/SkPathOpsDebug.cpp ('k') | tools/pathops_sorter.htm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « src/pathops/SkPathOpsDebug.cpp ('k') | tools/pathops_sorter.htm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698