OLD | NEW |
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" | 8 #include "Test.h" |
9 #include "TestClassDef.h" | |
10 #include "SkFloatingPoint.h" | 9 #include "SkFloatingPoint.h" |
11 #include "SkMath.h" | 10 #include "SkMath.h" |
12 #include "SkPoint.h" | 11 #include "SkPoint.h" |
13 #include "SkRandom.h" | 12 #include "SkRandom.h" |
14 #include "SkRect.h" | 13 #include "SkRect.h" |
15 | 14 |
16 struct PointSet { | 15 struct PointSet { |
17 const SkPoint* fPts; | 16 const SkPoint* fPts; |
18 size_t fCount; | 17 size_t fCount; |
19 bool fIsFinite; | 18 bool fIsFinite; |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 test_isRectFinite(reporter); | 181 test_isRectFinite(reporter); |
183 } | 182 } |
184 | 183 |
185 #if defined _WIN32 | 184 #if defined _WIN32 |
186 #pragma warning ( pop ) | 185 #pragma warning ( pop ) |
187 #endif | 186 #endif |
188 | 187 |
189 DEF_TEST(Scalar, reporter) { | 188 DEF_TEST(Scalar, reporter) { |
190 test_isfinite(reporter); | 189 test_isfinite(reporter); |
191 } | 190 } |
OLD | NEW |