mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-30 10:47:34 +02:00
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