diff options
Diffstat (limited to 'tests/MathTest.cpp')
-rw-r--r-- | tests/MathTest.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/MathTest.cpp b/tests/MathTest.cpp index 23785f742d..1dd8223091 100644 --- a/tests/MathTest.cpp +++ b/tests/MathTest.cpp @@ -530,6 +530,8 @@ DEF_TEST(Math, reporter) { REPORTER_ASSERT(reporter, result == SK_Fixed1); result = SkFixedDiv(1, SK_Fixed1); REPORTER_ASSERT(reporter, result == 1); + result = SkFixedDiv(10 - 1, SK_Fixed1 * 3); + REPORTER_ASSERT(reporter, result == 3); } unittest_fastfloat(reporter); |