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

Side by Side Diff: tests/PathOpsSimplifyFailTest.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/PathOpsCubicIntersectionTestData.cpp ('k') | tests/PathTest.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 2013 Google Inc. 2 * Copyright 2013 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 "SkPath.h"
7 #include "SkPathOps.h" 8 #include "SkPathOps.h"
8 #include "SkPath.h"
9 #include "SkPoint.h" 9 #include "SkPoint.h"
10 #include "Test.h" 10 #include "Test.h"
11 11
12 static const SkPoint nonFinitePts[] = { 12 static const SkPoint nonFinitePts[] = {
13 { SK_ScalarInfinity, 0 }, 13 { SK_ScalarInfinity, 0 },
14 { 0, SK_ScalarInfinity }, 14 { 0, SK_ScalarInfinity },
15 { SK_ScalarInfinity, SK_ScalarInfinity }, 15 { SK_ScalarInfinity, SK_ScalarInfinity },
16 { SK_ScalarNegativeInfinity, 0}, 16 { SK_ScalarNegativeInfinity, 0},
17 { 0, SK_ScalarNegativeInfinity }, 17 { 0, SK_ScalarNegativeInfinity },
18 { SK_ScalarNegativeInfinity, SK_ScalarNegativeInfinity }, 18 { SK_ScalarNegativeInfinity, SK_ScalarNegativeInfinity },
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 102
103 DEF_TEST(PathOpsSimplifyFailOne, reporter) { 103 DEF_TEST(PathOpsSimplifyFailOne, reporter) {
104 int index = 0; 104 int index = 0;
105 failOne(reporter, index); 105 failOne(reporter, index);
106 } 106 }
107 107
108 DEF_TEST(PathOpsSimplifyDontFailOne, reporter) { 108 DEF_TEST(PathOpsSimplifyDontFailOne, reporter) {
109 int index = 6; 109 int index = 6;
110 dontFailOne(reporter, index); 110 dontFailOne(reporter, index);
111 } 111 }
OLDNEW
« no previous file with comments | « tests/PathOpsCubicIntersectionTestData.cpp ('k') | tests/PathTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698