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

Unified Diff: Source/platform/geometry/FloatBoxTestHelpers.cpp

Issue 1285413007: Unify geometry test printers in a test support target. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: PrintTo instead of operator<< Created 5 years, 4 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 | « Source/platform/geometry/FloatBoxTestHelpers.h ('k') | Source/platform/geometry/FloatPoint.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/geometry/FloatBoxTestHelpers.cpp
diff --git a/Source/platform/geometry/FloatBoxTestHelpers.cpp b/Source/platform/geometry/FloatBoxTestHelpers.cpp
index 5a15710597e3874f64d81b1e0aa5a8f447b4fe8a..a40d97ee837ff757acc54f5004edbe7114b88b31 100644
--- a/Source/platform/geometry/FloatBoxTestHelpers.cpp
+++ b/Source/platform/geometry/FloatBoxTestHelpers.cpp
@@ -30,18 +30,6 @@
const static float kTestEpsilon = 1e-6;
namespace blink {
-
-void PrintTo(const FloatBox& box, ::std::ostream* os)
-{
- *os << "FloatBox("
- << box.x() << ", "
- << box.y() << ", "
- << box.z() << ", "
- << box.width() << ", "
- << box.height() << ", "
- << box.depth() << ")";
-}
-
namespace FloatBoxTest {
bool ApproximatelyEqual(const float& a, const float& b)
« no previous file with comments | « Source/platform/geometry/FloatBoxTestHelpers.h ('k') | Source/platform/geometry/FloatPoint.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698