diff --git a/JsonGeneratorTests/JsonValue_PrintTo_Tests.cpp b/JsonGeneratorTests/JsonValue_PrintTo_Tests.cpp index 19d62a29..f37c03c8 100644 --- a/JsonGeneratorTests/JsonValue_PrintTo_Tests.cpp +++ b/JsonGeneratorTests/JsonValue_PrintTo_Tests.cpp @@ -26,6 +26,12 @@ namespace JsonGeneratorTests outputMustBe("\"hello\""); } + TEST_METHOD(ZeroFloat) + { + setValueTo(0.0f); + outputMustBe("0.0"); + } + TEST_METHOD(Float) { setValueTo(3.1415f);