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
This commit is contained in:
schenney@chromium.org 2011-12-20 15:33:11 +00:00
Родитель 4da06ab335
Коммит 3287949868
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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());