From 95b68197c37c728df855213620fa25793f31e3ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Wed, 20 Dec 2017 11:08:53 -0800 Subject: [PATCH] Cleanup. --- tests/string_test.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/string_test.cpp b/tests/string_test.cpp index 4f94e08..ead165c 100644 --- a/tests/string_test.cpp +++ b/tests/string_test.cpp @@ -255,6 +255,7 @@ TEST_CASE("toString double", "") REQUIRE(testToString(0.000000000123123, "1.23123e-10") ); REQUIRE(testToString(0.0000000001, "1e-10") ); REQUIRE(testToString(-270.000000, "-270.0") ); + REQUIRE(testToString(2.225073858507201e-308, "2.225073858507201e-308") ); } static bool testFromString(double _value, const char* _input) @@ -303,6 +304,7 @@ TEST_CASE("fromString double", "") REQUIRE(testFromString(0.000000000123123, "1.23123e-10") ); REQUIRE(testFromString(0.0000000001, "1e-10") ); REQUIRE(testFromString(-270.000000, "-270.0") ); + REQUIRE(testFromString(2.2250738585072011e-308, "2.2250738585072011e-308") ); } static bool testFromString(int32_t _value, const char* _input)