OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 Google Inc. |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 #include "Test.h" | 8 #include "Test.h" |
9 #include "SkPathMeasure.h" | 9 #include "SkPathMeasure.h" |
10 | 10 |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 0.0001f)); | 202 0.0001f)); |
203 REPORTER_ASSERT(reporter, tangent.fX == -SK_Scalar1); | 203 REPORTER_ASSERT(reporter, tangent.fX == -SK_Scalar1); |
204 REPORTER_ASSERT(reporter, tangent.fY == 0); | 204 REPORTER_ASSERT(reporter, tangent.fY == 0); |
205 | 205 |
206 test_small_segment(); | 206 test_small_segment(); |
207 test_small_segment2(); | 207 test_small_segment2(); |
208 test_small_segment3(); | 208 test_small_segment3(); |
209 } | 209 } |
210 | 210 |
211 #include "TestClassDef.h" | 211 #include "TestClassDef.h" |
212 DEFINE_TESTCLASS("PathMeasure", PathMeasureTestClass, TestPathMeasure) | 212 DEFINE_TESTCLASS_SHORT(TestPathMeasure) |
OLD | NEW |