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 "SkGeometry.h" | 9 #include "SkGeometry.h" |
10 | 10 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 { SkIntToScalar(3), SkIntToScalar(3) }, | 55 { SkIntToScalar(3), SkIntToScalar(3) }, |
56 }; | 56 }; |
57 for (int i = 0; i < 4; ++i) { | 57 for (int i = 0; i < 4; ++i) { |
58 REPORTER_ASSERT(reporter, nearly_equal(cubic[i], dst[i])); | 58 REPORTER_ASSERT(reporter, nearly_equal(cubic[i], dst[i])); |
59 } | 59 } |
60 | 60 |
61 testChopCubic(reporter); | 61 testChopCubic(reporter); |
62 } | 62 } |
63 | 63 |
64 #include "TestClassDef.h" | 64 #include "TestClassDef.h" |
65 DEFINE_TESTCLASS("Geometry", GeometryTestClass, TestGeometry) | 65 DEFINE_TESTCLASS_SHORT(TestGeometry) |
OLD | NEW |