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

Unified Diff: test/cctest/test-types.cc

Issue 411873002: Add debugging output to RangeType test. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-types.cc
diff --git a/test/cctest/test-types.cc b/test/cctest/test-types.cc
index 5c6a0591ec66191361f74ef336f415d36d9868ba..4c27addcb4d85f3246f8c25945fc343441e590db 100644
--- a/test/cctest/test-types.cc
+++ b/test/cctest/test-types.cc
@@ -605,7 +605,10 @@ struct Tests : Rep {
for (DoubleIterator j = T.doubles.begin(); j != T.doubles.end(); ++j) {
double min = std::min(*i, *j);
double max = std::max(*i, *j);
+ printf("RangeType: min, max = %f, %f\n", min, max);
TypeHandle type = T.Range(min, max);
+ printf("RangeType: Min, Max = %f, %f\n",
+ type->AsRange()->Min(), type->AsRange()->Max());
CHECK(min == type->AsRange()->Min());
CHECK(max == type->AsRange()->Max());
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698