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

Side by Side Diff: tests/PathOpsCubicIntersectionTestData.cpp

Issue 145313004: Cleanup: Sanitize the order of includes under tests/ (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: more two fixes Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « tests/PathMeasureTest.cpp ('k') | tests/PathOpsSimplifyFailTest.cpp » ('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
7 #include "PathOpsCubicIntersectionTestData.h" 8 #include "PathOpsCubicIntersectionTestData.h"
9
8 #include <limits> 10 #include <limits>
9 11
10 static const double D = FLT_EPSILON / 2; 12 static const double D = FLT_EPSILON / 2;
11 static const double G = FLT_EPSILON / 3; 13 static const double G = FLT_EPSILON / 3;
12 static const double N = -FLT_EPSILON / 2; 14 static const double N = -FLT_EPSILON / 2;
13 static const double M = -FLT_EPSILON / 3; 15 static const double M = -FLT_EPSILON / 3;
14 16
15 const SkDCubic pointDegenerates[] = { 17 const SkDCubic pointDegenerates[] = {
16 {{{0, 0}, {0, 0}, {0, 0}, {0, 0}}}, 18 {{{0, 0}, {0, 0}, {0, 0}, {0, 0}}},
17 {{{1, 1}, {1, 1}, {1, 1}, {1, 1}}}, 19 {{{1, 1}, {1, 1}, {1, 1}, {1, 1}}},
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 {{{1, 1}, {4, 4}, {3, 3}, {2+M, 2}}}, // INVESTIGATE: why the epsilon is sm aller 266 {{{1, 1}, {4, 4}, {3, 3}, {2+M, 2}}}, // INVESTIGATE: why the epsilon is sm aller
265 {{{2, 2}, {1, 1}, {3+N, 3}, {4, 4}}}, 267 {{{2, 2}, {1, 1}, {3+N, 3}, {4, 4}}},
266 {{{2, 2}, {1+N, 1}, {4, 4}, {3, 3}}}, 268 {{{2, 2}, {1+N, 1}, {4, 4}, {3, 3}}},
267 {{{2, 2+N}, {3, 3}, {1, 1}, {4, 4}}}, 269 {{{2, 2+N}, {3, 3}, {1, 1}, {4, 4}}},
268 {{{2+M, 2}, {3, 3}, {4, 4}, {1, 1}}}, // INVESTIGATE: why the epsilon is sm aller 270 {{{2+M, 2}, {3, 3}, {4, 4}, {1, 1}}}, // INVESTIGATE: why the epsilon is sm aller
269 {{{2, 2}, {4+N, 4}, {1, 1}, {3, 3}}}, 271 {{{2, 2}, {4+N, 4}, {1, 1}, {3, 3}}},
270 {{{2, 2}, {4, 4}, {3, 3}, {1, 1+N}}}, 272 {{{2, 2}, {4, 4}, {3, 3}, {1, 1+N}}},
271 }; 273 };
272 274
273 const size_t negEpsilonLines_count = SK_ARRAY_COUNT(negEpsilonLines); 275 const size_t negEpsilonLines_count = SK_ARRAY_COUNT(negEpsilonLines);
OLDNEW
« no previous file with comments | « tests/PathMeasureTest.cpp ('k') | tests/PathOpsSimplifyFailTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698