More tests.

This commit is contained in:
Victor Zverovich
2014-08-15 06:58:24 -07:00
parent d4412a01f0
commit c7cfa7d4e7
2 changed files with 9 additions and 1 deletions
+4
View File
@@ -374,10 +374,14 @@ TEST(WriterTest, WriteLongLong) {
TEST(WriterTest, WriteDouble) {
CHECK_WRITE(4.2);
CHECK_WRITE(-4.2);
CHECK_WRITE(std::numeric_limits<double>::min());
CHECK_WRITE(std::numeric_limits<double>::max());
}
TEST(WriterTest, WriteLongDouble) {
CHECK_WRITE(4.2l);
CHECK_WRITE(-4.2l);
CHECK_WRITE(std::numeric_limits<long double>::min());
CHECK_WRITE(std::numeric_limits<long double>::max());
}