diff options
author | 2011-12-20 15:33:11 +0000 | |
---|---|---|
committer | 2011-12-20 15:33:11 +0000 | |
commit | 32879498688942b3df0641a21db524e151699a03 (patch) | |
tree | 8f5d99e964b1843c157d4fdf7d5d795d9dfe0bb2 /tests | |
parent | 4da06ab3351f2a96f9216d96106db33a77b19644 (diff) |
Fixing the build for FIXED tests. PathTest was incorrect using "1" instead of "SK_Scalar1".
git-svn-id: http://skia.googlecode.com/svn/trunk@2902 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests')
-rw-r--r-- | tests/PathTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/PathTest.cpp b/tests/PathTest.cpp index 53752e1908..2b4342ace6 100644 --- a/tests/PathTest.cpp +++ b/tests/PathTest.cpp @@ -535,7 +535,7 @@ static void test_zero_length_paths(skiatest::Reporter* reporter) { // MoveTo-MoveTo case p.moveTo(SK_Scalar1*2, SK_Scalar1); - bounds.set(1, 1, 2, 1); + bounds.set(SK_Scalar1, SK_Scalar1, 2*SK_Scalar1, SK_Scalar1); REPORTER_ASSERT(reporter, !p.isEmpty()); REPORTER_ASSERT(reporter, 2 == p.countPoints()); REPORTER_ASSERT(reporter, bounds == p.getBounds()); @@ -552,7 +552,7 @@ static void test_zero_length_paths(skiatest::Reporter* reporter) { // moveTo-close-moveTo-close case p.moveTo(SK_Scalar1*2, SK_Scalar1); p.close(); - bounds.set(1, 1, 2, 1); + bounds.set(SK_Scalar1, SK_Scalar1, 2*SK_Scalar1, SK_Scalar1); REPORTER_ASSERT(reporter, !p.isEmpty()); REPORTER_ASSERT(reporter, 2 == p.countPoints()); REPORTER_ASSERT(reporter, bounds == p.getBounds()); |