mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-29 10:17:39 +02:00
Test that JsonArray can store booleans
This commit is contained in:
@ -45,7 +45,7 @@ TEST_F(JsonArray_Container_Tests, CanStoreDoubles)
|
||||
EXPECT_EQ(123.45, (double) array[0]);
|
||||
EXPECT_EQ(456.78, (double) array[1]);
|
||||
}
|
||||
/*
|
||||
|
||||
TEST_F(JsonArray_Container_Tests, CanStoreBooleans)
|
||||
{
|
||||
array.add(true);
|
||||
@ -54,7 +54,7 @@ TEST_F(JsonArray_Container_Tests, CanStoreBooleans)
|
||||
EXPECT_TRUE((bool) array[0]);
|
||||
EXPECT_FALSE((bool) array[1]);
|
||||
}
|
||||
|
||||
/*
|
||||
TEST_F(JsonArray_Container_Tests, CanStoreStrings)
|
||||
{
|
||||
array.add("h3110");
|
||||
|
Reference in New Issue
Block a user