diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/MathTest.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/MathTest.cpp b/tests/MathTest.cpp index 4205ce6cf5..20539369b8 100644 --- a/tests/MathTest.cpp +++ b/tests/MathTest.cpp @@ -264,9 +264,7 @@ static void test_float_conversions(skiatest::Reporter* reporter, float x) { static void test_int2float(skiatest::Reporter* reporter, int ival) { float x0 = (float)ival; float x1 = SkIntToFloatCast(ival); - float x2 = SkIntToFloatCast_NoOverflowCheck(ival); REPORTER_ASSERT(reporter, x0 == x1); - REPORTER_ASSERT(reporter, x0 == x2); } static void unittest_fastfloat(skiatest::Reporter* reporter) { |