Add debugging output to RangeType test.
R=rossberg@chromium.org BUG= Review URL: https://codereview.chromium.org/411873002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22552 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
5767cd143d
commit
ac192b4f2a
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user