Test casting a JsonValue to a float

This commit is contained in:
Benoit Blanchon committed 2014-08-01 14:58:16 +02:00
1 parent c10bcee324
commit 6384bc414a
2 files changed
+10

No files matched your search

@@ -30,6 +30,11 @@ namespace JsonGeneratorTests
setValueAndCheckCast(3.14156);
}
TEST_METHOD(Float)
{
setValueAndCheckCast(3.14f);
}
TEST_METHOD(Integer)
{
setValueAndCheckCast(42);