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

Side by Side Diff: tests/ScalarTest.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/SHA1Test.cpp ('k') | tests/SerializationTest.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 2011 Google Inc. 2 * Copyright 2011 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
8 #include "Test.h"
9 #include "SkFloatingPoint.h" 8 #include "SkFloatingPoint.h"
10 #include "SkMath.h" 9 #include "SkMath.h"
11 #include "SkPoint.h" 10 #include "SkPoint.h"
12 #include "SkRandom.h" 11 #include "SkRandom.h"
13 #include "SkRect.h" 12 #include "SkRect.h"
13 #include "Test.h"
14 14
15 struct PointSet { 15 struct PointSet {
16 const SkPoint* fPts; 16 const SkPoint* fPts;
17 size_t fCount; 17 size_t fCount;
18 bool fIsFinite; 18 bool fIsFinite;
19 }; 19 };
20 20
21 static void test_isRectFinite(skiatest::Reporter* reporter) { 21 static void test_isRectFinite(skiatest::Reporter* reporter) {
22 static const SkPoint gF0[] = { 22 static const SkPoint gF0[] = {
23 { 0, 0 }, { 1, 1 } 23 { 0, 0 }, { 1, 1 }
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 test_isRectFinite(reporter); 181 test_isRectFinite(reporter);
182 } 182 }
183 183
184 #if defined _WIN32 184 #if defined _WIN32
185 #pragma warning ( pop ) 185 #pragma warning ( pop )
186 #endif 186 #endif
187 187
188 DEF_TEST(Scalar, reporter) { 188 DEF_TEST(Scalar, reporter) {
189 test_isfinite(reporter); 189 test_isfinite(reporter);
190 } 190 }
OLDNEW
« no previous file with comments | « tests/SHA1Test.cpp ('k') | tests/SerializationTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698