Improve dtoa coverage

This commit is contained in:
miloyip 2015-04-14 14:52:42 +08:00
parent 4824f12efb
commit 3621235cd0

View File

@ -103,6 +103,7 @@ TEST(Writer, String) {
TEST(Writer, Double) { TEST(Writer, Double) {
TEST_ROUNDTRIP("[1.2345,1.2345678,0.123456789012,1234567.8]"); TEST_ROUNDTRIP("[1.2345,1.2345678,0.123456789012,1234567.8]");
TEST_ROUNDTRIP("[-0.0]"); // Issue #289 TEST_ROUNDTRIP("[-0.0]"); // Issue #289
TEST_ROUNDTRIP("1e30");
} }
TEST(Writer, Transcode) { TEST(Writer, Transcode) {