Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Unified Diff: tests/Sk4xTest.cpp

Issue 1012573003: aacc + bbdd (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: revert SkMatrix.cpp Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/opts/Sk4x_sse.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/Sk4xTest.cpp
diff --git a/tests/Sk4xTest.cpp b/tests/Sk4xTest.cpp
index cbae492a57a23236f290c4e44eb7ad211407c2a7..4dc4c3621cc78ace09cf2f79f0c59d69950f6a8c 100644
--- a/tests/Sk4xTest.cpp
+++ b/tests/Sk4xTest.cpp
@@ -136,6 +136,10 @@ DEF_TEST(Sk4x_MinMax, r) {
DEF_TEST(Sk4x_Swizzle, r) {
ASSERT_EQ(Sk4f(1,2,3,4).badc(), Sk4f(2,1,4,3));
+ ASSERT_EQ(Sk4f(1,2,3,4).aacc(), Sk4f(1,1,3,3));
+ ASSERT_EQ(Sk4f(1,2,3,4).bbdd(), Sk4f(2,2,4,4));
ASSERT_EQ(Sk4i(1,2,3,4).badc(), Sk4i(2,1,4,3));
+ ASSERT_EQ(Sk4i(1,2,3,4).aacc(), Sk4i(1,1,3,3));
+ ASSERT_EQ(Sk4i(1,2,3,4).bbdd(), Sk4i(2,2,4,4));
}
« no previous file with comments | « src/opts/Sk4x_sse.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698