mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-17 12:32:17 +02:00
Added tests that adds a boolean to a hash table
This commit is contained in:
@ -53,7 +53,7 @@ namespace JsonGeneratorTests
|
||||
jsonIs("[3.14]");
|
||||
}
|
||||
|
||||
TEST_METHOD(AddTwoNumbers)
|
||||
TEST_METHOD(TwoNumbers)
|
||||
{
|
||||
addValue(3.14);
|
||||
addValue(2.72);
|
||||
@ -61,7 +61,7 @@ namespace JsonGeneratorTests
|
||||
jsonIs("[3.14,2.72]");
|
||||
}
|
||||
|
||||
TEST_METHOD(AddOneNumberOverCapacity)
|
||||
TEST_METHOD(OneNumberOverCapacity)
|
||||
{
|
||||
addValue(3.14);
|
||||
addValue(2.72);
|
||||
@ -70,14 +70,14 @@ namespace JsonGeneratorTests
|
||||
jsonIs("[3.14,2.72]");
|
||||
}
|
||||
|
||||
TEST_METHOD(AddTrue)
|
||||
TEST_METHOD(OneTrue)
|
||||
{
|
||||
addValue(true);
|
||||
|
||||
jsonIs("[true]");
|
||||
}
|
||||
|
||||
TEST_METHOD(AddFalse)
|
||||
TEST_METHOD(OneFalse)
|
||||
{
|
||||
addValue(false);
|
||||
|
||||
|
Reference in New Issue
Block a user