Index: tests/Sk4xTest.cpp |
diff --git a/tests/Sk4xTest.cpp b/tests/Sk4xTest.cpp |
index f25339bd9481739f7ee602c636d90a1edbcca18a..cdd7d564883128647e7c9ef5de1a3a4e62ad6573 100644 |
--- a/tests/Sk4xTest.cpp |
+++ b/tests/Sk4xTest.cpp |
@@ -75,6 +75,8 @@ DEF_TEST(Sk4x_Arith, r) { |
ASSERT_EQ(Sk4f(-2,-2,-2,-2), Sk4f(1,2,3,4) - Sk4f(3,4,5,6)); |
ASSERT_EQ(Sk4f(3,8,15,24), Sk4f(1,2,3,4) * Sk4f(3,4,5,6)); |
+ ASSERT_EQ(Sk4f(-1,-2,-3,-4), -Sk4f(1,2,3,4)); |
+ |
float third = 1.0f/3.0f; |
ASSERT_EQ(Sk4f(1*third, 0.5f, 0.6f, 2*third), Sk4f(1,2,3,4) / Sk4f(3,4,5,6)); |
ASSERT_EQ(Sk4i(4,6,8,10), Sk4i(1,2,3,4) + Sk4i(3,4,5,6)); |