Index: third_party/WebKit/Source/platform/geometry/FloatBoxTest.cpp |
diff --git a/third_party/WebKit/Source/platform/geometry/FloatBoxTest.cpp b/third_party/WebKit/Source/platform/geometry/FloatBoxTest.cpp |
index 655c43b0e36b0ce492b58a94b2f85ae29e2c6d26..caad8a0835a3080a9d9d4240de83c4ffb5e9e3d0 100644 |
--- a/third_party/WebKit/Source/platform/geometry/FloatBoxTest.cpp |
+++ b/third_party/WebKit/Source/platform/geometry/FloatBoxTest.cpp |
@@ -26,6 +26,7 @@ |
#include "platform/geometry/FloatBoxTestHelpers.h" |
#include "testing/gtest/include/gtest/gtest.h" |
+#include "wtf/text/WTFString.h" |
namespace blink { |
@@ -114,4 +115,10 @@ TEST(FloatBoxTest, EmptyBoxTest) |
EXPECT_FALSE(box.isEmpty()); |
} |
+TEST(FloatBoxTest, ToString) |
+{ |
+ FloatBox box(2, 3, 5, 7, 11, 13); |
+ EXPECT_EQ(String("2,3,5 7x11x13"), box.toString()); |
+} |
+ |
} // namespace blink |