diff options
author | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-11-02 07:02:02 +0000 |
---|---|---|
committer | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-11-02 07:02:02 +0000 |
commit | f54ad6f488845d0fc27734984e39185e15370fbc (patch) | |
tree | 0da36daff72ec6fd396df213a0b67d972ff282d4 /tests/PathOpsTypesTest.cpp | |
parent | 585744a7db91f65bc92c572d02b54db9611c23ba (diff) |
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@12101 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/PathOpsTypesTest.cpp')
-rwxr-xr-x | tests/PathOpsTypesTest.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/PathOpsTypesTest.cpp b/tests/PathOpsTypesTest.cpp index 6fd6e10e7d..820f69eac4 100755 --- a/tests/PathOpsTypesTest.cpp +++ b/tests/PathOpsTypesTest.cpp @@ -6,19 +6,19 @@ */ #include "PathOpsTestCommon.h" #include "Test.h" -
-static const double roughlyTests[][2] = {
- {5.0402503619650929e-005, 4.3178054475078825e-005}
-};
-
+ +static const double roughlyTests[][2] = { + {5.0402503619650929e-005, 4.3178054475078825e-005} +}; + static const size_t roughlyTestsCount = SK_ARRAY_COUNT(roughlyTests); -
+ static void PathOpsRoughlyTest(skiatest::Reporter* reporter) { for (size_t index = 0; index < roughlyTestsCount; ++index) { bool equal = RoughlyEqualUlps(roughlyTests[index][0], roughlyTests[index][1]); REPORTER_ASSERT(reporter, equal); } -}
-
+} + #include "TestClassDef.h" DEFINE_TESTCLASS_SHORT(PathOpsRoughlyTest) |