forked from bblanchon/ArduinoJson
Test casting a JsonValue to a bool
This commit is contained in:
1 parent
23b5237f74
commit
028ff6676e
2 files changed
+11
No files matched your search
@@ -34,6 +34,12 @@ namespace JsonGeneratorTests
|
||||
setValueAndCheckCast(42L);
|
||||
}
|
||||
|
||||
TEST_METHOD(Bool)
|
||||
{
|
||||
setValueAndCheckCast(true);
|
||||
setValueAndCheckCast(false);
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
template<typename T>
|
||||
|
||||
Reference in new issue
Block a user