diff options
Diffstat (limited to 'tests/PointTest.cpp')
-rw-r--r-- | tests/PointTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/PointTest.cpp b/tests/PointTest.cpp index 876a2726b4..db9c803445 100644 --- a/tests/PointTest.cpp +++ b/tests/PointTest.cpp @@ -36,10 +36,10 @@ static void test_Normalize(skiatest::Reporter* reporter, void PointTest(skiatest::Reporter* reporter) { test_length(reporter, SkIntToScalar(3), SkIntToScalar(4), SkIntToScalar(5)); - test_length(reporter, SkFloatToScalar(0.6), SkFloatToScalar(0.8), + test_length(reporter, SkFloatToScalar(0.6f), SkFloatToScalar(0.8f), SK_Scalar1); test_Normalize(reporter, SkIntToScalar(3), SkIntToScalar(4)); - test_Normalize(reporter, SkFloatToScalar(0.6), SkFloatToScalar(0.8)); + test_Normalize(reporter, SkFloatToScalar(0.6f), SkFloatToScalar(0.8f)); } #include "TestClassDef.h" |