forked from bblanchon/ArduinoJson
Added a test prooving issue #22
This commit is contained in:
@ -26,6 +26,12 @@ namespace JsonGeneratorTests
|
|||||||
outputMustBe("\"hello\"");
|
outputMustBe("\"hello\"");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TEST_METHOD(ZeroFloat)
|
||||||
|
{
|
||||||
|
setValueTo(0.0f);
|
||||||
|
outputMustBe("0.0");
|
||||||
|
}
|
||||||
|
|
||||||
TEST_METHOD(Float)
|
TEST_METHOD(Float)
|
||||||
{
|
{
|
||||||
setValueTo(3.1415f);
|
setValueTo(3.1415f);
|
||||||
|
Reference in New Issue
Block a user