Index: tests/SkNxTest.cpp |
diff --git a/tests/SkNxTest.cpp b/tests/SkNxTest.cpp |
index 3719044025e7a145ae43a2504d4a34d58c66c015..58932148cb5a6bee16dff65d94bb85c1ad74726f 100644 |
--- a/tests/SkNxTest.cpp |
+++ b/tests/SkNxTest.cpp |
@@ -133,11 +133,13 @@ DEF_TEST(SkNi, r) { |
test_Ni<8, int>(r); |
} |
-DEF_TEST(SkNi_min, r) { |
+DEF_TEST(SkNi_min_lt, r) { |
// Exhaustively check the 8x8 bit space. |
for (int a = 0; a < (1<<8); a++) { |
for (int b = 0; b < (1<<8); b++) { |
- REPORTER_ASSERT(r, Sk16b::Min(Sk16b(a), Sk16b(b)).kth<0>() == SkTMin(a, b)); |
+ Sk16b aw(a), bw(b); |
+ REPORTER_ASSERT(r, Sk16b::Min(aw, bw).kth<0>() == SkTMin(a, b)); |
+ REPORTER_ASSERT(r, !(aw < bw).kth<0>() == !(a < b)); |
}} |
// Exhausting the 16x16 bit space is kind of slow, so only do that in release builds. |