зеркало из https://github.com/mozilla/moz-skia.git
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:
Родитель
4da06ab335
Коммит
3287949868
|
@ -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());
|
||||
|
|
Загрузка…
Ссылка в новой задаче