Index: tests/SizeTest.cpp |
diff --git a/tests/TestSize.cpp b/tests/SizeTest.cpp |
similarity index 95% |
rename from tests/TestSize.cpp |
rename to tests/SizeTest.cpp |
index 466a628c5c723fef11ba95474b080440410f8c3c..9800aa29c3e99a56ed6333262522dc9e1ec239ba 100644 |
--- a/tests/TestSize.cpp |
+++ b/tests/SizeTest.cpp |
@@ -6,9 +6,10 @@ |
*/ |
#include "SkSize.h" |
+ |
#include "Test.h" |
-static void TestISize(skiatest::Reporter* reporter) { |
+DEF_TEST(ISize, reporter) { |
SkISize a, b; |
a.set(0, 0); |
@@ -31,8 +32,6 @@ static void TestISize(skiatest::Reporter* reporter) { |
} |
DEF_TEST(Size, reporter) { |
- TestISize(reporter); |
- |
SkSize a, b; |
int ix = 5; |
int iy = 3; |