| Index: test/cctest/test-conversions.cc
|
| ===================================================================
|
| --- test/cctest/test-conversions.cc (revision 15486)
|
| +++ test/cctest/test-conversions.cc (working copy)
|
| @@ -130,6 +130,7 @@
|
| CHECK_EQ(0.0, StringToDouble(&uc, " ", NO_FLAGS));
|
| }
|
|
|
| +
|
| TEST(IntegerStrLiteral) {
|
| UnicodeCache uc;
|
| CHECK_EQ(0.0, StringToDouble(&uc, "0.0", NO_FLAGS));
|
| @@ -151,6 +152,7 @@
|
| CHECK_EQ(0.0, StringToDouble(&uc, "0.", ALLOW_HEX | ALLOW_OCTALS));
|
| }
|
|
|
| +
|
| TEST(LongNumberStr) {
|
| UnicodeCache uc;
|
| CHECK_EQ(1e10, StringToDouble(&uc, "1" "0000000000", NO_FLAGS));
|
| @@ -204,6 +206,7 @@
|
| CHECK_EQ(4.4501477170144022721148e-308, StringToDouble(&uc, num, NO_FLAGS));
|
| }
|
|
|
| +
|
| TEST(MinimumExponent) {
|
| UnicodeCache uc;
|
| // Same test but with different point-position.
|
|
|