mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-15 03:26:39 +02:00
16 lines
303 B
C++
16 lines
303 B
C++
// ArduinoJson - arduinojson.org
|
|
// Copyright Benoit Blanchon 2014-2018
|
|
// MIT License
|
|
|
|
#include <ArduinoJson.h>
|
|
#include <catch.hpp>
|
|
|
|
TEST_CASE("JsonObject basics") {
|
|
DynamicJsonDocument doc;
|
|
JsonObject obj = doc.to<JsonObject>();
|
|
|
|
SECTION("isNull()") {
|
|
REQUIRE(obj.isNull() == false);
|
|
}
|
|
}
|