Index: tests/Sk2xTest.cpp |
diff --git a/tests/Sk2xTest.cpp b/tests/Sk2xTest.cpp |
index b74cc5bf2f67e26781ef113a4e88c371a7315d00..40e90913a59c393bcce992ec26db234e8b16441f 100644 |
--- a/tests/Sk2xTest.cpp |
+++ b/tests/Sk2xTest.cpp |
@@ -49,6 +49,9 @@ static void test(skiatest::Reporter* r) { |
REPORTER_ASSERT(r, nearly_eq(0.001, a.rsqrt(), 0.5, 0.5)); |
REPORTER_ASSERT(r, eq(a.sqrt(), 2, 2)); |
+ REPORTER_ASSERT(r, nearly_eq(0.001, d.approxInvert(), 0.5, 0.2)); |
+ REPORTER_ASSERT(r, eq(d.invert(), 0.5, 0.2)); |
+ |
REPORTER_ASSERT(r, eq(Sk2x<T>::Min(a, d), 2, 4)); |
REPORTER_ASSERT(r, eq(Sk2x<T>::Max(a, d), 4, 5)); |