diff options
author | caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-04-15 19:13:59 +0000 |
---|---|---|
committer | caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-04-15 19:13:59 +0000 |
commit | ad65a3e5fb1f94699f183551b828efbcc6a133ce (patch) | |
tree | 5908b619b257c5bfc45ddb40be1b9099c37d67ee /tests/PathOpsDCubicTest.cpp | |
parent | 9becf0090f9c1c14f42d161b9a1fb3af142f9420 (diff) |
path ops work in progress
standardize tests
use SK_ARRAY_COUNT everywhere
debug why x87 differs from SIMD 64
various platform specific fixes
git-svn-id: http://skia.googlecode.com/svn/trunk@8689 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/PathOpsDCubicTest.cpp')
-rw-r--r-- | tests/PathOpsDCubicTest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/PathOpsDCubicTest.cpp b/tests/PathOpsDCubicTest.cpp index 60b92dfa84..04850de8f6 100644 --- a/tests/PathOpsDCubicTest.cpp +++ b/tests/PathOpsDCubicTest.cpp @@ -13,9 +13,9 @@ static const SkDCubic tests[] = { {{{3, 0}, {2, 1}, {3, 2}, {1, 1}}}, }; -static const size_t tests_count = sizeof(tests) / sizeof(tests[0]); +static const size_t tests_count = SK_ARRAY_COUNT(tests); -static void DCubicTest(skiatest::Reporter* reporter) { +static void PathOpsDCubicTest(skiatest::Reporter* reporter) { for (size_t index = 0; index < tests_count; ++index) { const SkDCubic& cubic = tests[index]; bool result = cubic.clockwise(); @@ -27,4 +27,4 @@ static void DCubicTest(skiatest::Reporter* reporter) { } #include "TestClassDef.h" -DEFINE_TESTCLASS("PathOpsDCubic", PathOpsDCubic, DCubicTest) +DEFINE_TESTCLASS_SHORT(PathOpsDCubicTest) |