Skip to content

Commit 91c72a7

Browse files
committed
Add a test case
1 parent 7a60b26 commit 91c72a7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/zmij-test.cc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,10 @@ TEST(zmij_test, umul_upper_inexact_to_odd) {
4141
0x24554a3ce60a4643);
4242
}
4343

44-
TEST(dtoa_test, normal) { EXPECT_EQ(dtoa(6.62607015e-34), "6.62607015e-34"); }
44+
TEST(dtoa_test, normal) {
45+
EXPECT_EQ(dtoa(6.62607015e-34), "6.62607015e-34");
46+
EXPECT_EQ(dtoa(5.444310685350916e+14), "5.444310685350916e+14");
47+
}
4548

4649
TEST(dtoa_test, subnormal) {
4750
EXPECT_EQ(dtoa(std::numeric_limits<double>::denorm_min()), "5e-324");

0 commit comments

Comments
 (0)