mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-29 18:27:37 +02:00
Added a test prooving issue #22
This commit is contained in:
@ -26,6 +26,12 @@ namespace JsonGeneratorTests
|
||||
outputMustBe("\"hello\"");
|
||||
}
|
||||
|
||||
TEST_METHOD(ZeroFloat)
|
||||
{
|
||||
setValueTo(0.0f);
|
||||
outputMustBe("0.0");
|
||||
}
|
||||
|
||||
TEST_METHOD(Float)
|
||||
{
|
||||
setValueTo(3.1415f);
|
||||
|
Reference in New Issue
Block a user