forked from bblanchon/ArduinoJson
Test that JsonArray grows after calling add()
This commit is contained in:
1 parent
cb3c59ec07
commit
4c67d0579a
5 files changed
+22
-15
No files matched your search
@@ -18,7 +18,7 @@ TEST_F(JsonArray_Container_Tests, InitialSizeIsZero)
|
||||
{
|
||||
EXPECT_EQ(0, array.size());
|
||||
}
|
||||
/*
|
||||
|
||||
TEST_F(JsonArray_Container_Tests, Grow_WhenValuesAreAdded)
|
||||
{
|
||||
array.add("hello");
|
||||
@@ -27,7 +27,7 @@ TEST_F(JsonArray_Container_Tests, Grow_WhenValuesAreAdded)
|
||||
array.add("world");
|
||||
EXPECT_EQ(2, array.size());
|
||||
}
|
||||
|
||||
/*
|
||||
TEST_F(JsonArray_Container_Tests, CanStoreIntegers)
|
||||
{
|
||||
array.add(123);
|
||||
|
||||
Reference in new issue
Block a user