forked from bblanchon/ArduinoJson
This commit is contained in:
1 parent
639286f8b6
commit
cda05aec04
33 files changed
+447
-391
No files matched your search
@@ -50,10 +50,10 @@ void checkIsFloat(JsonVariant var) {
|
||||
void checkIsInteger(JsonVariant var) {
|
||||
REQUIRE(var.is<long>());
|
||||
REQUIRE(var.is<int>());
|
||||
REQUIRE(var.is<float>());
|
||||
REQUIRE(var.is<double>());
|
||||
|
||||
REQUIRE_FALSE(var.is<bool>());
|
||||
REQUIRE_FALSE(var.is<double>());
|
||||
REQUIRE_FALSE(var.is<float>());
|
||||
REQUIRE_FALSE(var.is<const char*>());
|
||||
REQUIRE_FALSE(var.is<JsonArray>());
|
||||
REQUIRE_FALSE(var.is<JsonObject>());
|
||||
|
||||
Reference in new issue
Block a user