diff options
Diffstat (limited to 'tests/MathTest.cpp')
-rw-r--r-- | tests/MathTest.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/MathTest.cpp b/tests/MathTest.cpp index 4347096ea5..772bade185 100644 --- a/tests/MathTest.cpp +++ b/tests/MathTest.cpp @@ -537,6 +537,9 @@ DEF_TEST(Math, reporter) { } else if (check < -SK_MaxS32) { check = SK_MinS32; } + if (result != (int32_t)check) { + ERRORF(reporter, "\nFixed Divide: %8x / %8x -> %8x %8x\n", numer, denom, result, check); + } REPORTER_ASSERT(reporter, result == (int32_t)check); } |