forked from bblanchon/ArduinoJson
Added memoryUsage() to JsonArray, JsonObject, and JsonVariant
This commit is contained in:
1 parent
8b04046321
commit
c51cc91f92
14 files changed
+165
-1
No files matched your search
@@ -9,7 +9,7 @@ TEST_CASE("JsonArray::size()") {
|
||||
DynamicJsonDocument doc(4096);
|
||||
JsonArray array = doc.to<JsonArray>();
|
||||
|
||||
SECTION("InitialSizeIsZero") {
|
||||
SECTION("returns 0 is empty") {
|
||||
REQUIRE(0U == array.size());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user