Index: tests/MathTest.cpp |
diff --git a/tests/MathTest.cpp b/tests/MathTest.cpp |
index 4347096ea54b62cdba8bc47a6d35fb1a7f8a1249..772bade1856cbe8b70bbc32eb8125419047372c9 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); |
} |