Added a test prooving issue #22

This commit is contained in:
Benoit Blanchon
2014-09-20 18:29:18 +02:00
parent 4cfb0ab84d
commit e682ed5a1e

View File

@ -26,6 +26,12 @@ namespace JsonGeneratorTests
outputMustBe("\"hello\"");
}
TEST_METHOD(ZeroFloat)
{
setValueTo(0.0f);
outputMustBe("0.0");
}
TEST_METHOD(Float)
{
setValueTo(3.1415f);