forked from bblanchon/ArduinoJson
Added a test that appends 2 string
This commit is contained in:
@ -35,6 +35,13 @@ namespace JsonGeneratorTests
|
|||||||
assertResultIs("ABCD");
|
assertResultIs("ABCD");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TEST_METHOD(AppendOneTwoStrings)
|
||||||
|
{
|
||||||
|
append("ABCD");
|
||||||
|
append("EFGH");
|
||||||
|
assertResultIs("ABCDEFGH");
|
||||||
|
}
|
||||||
|
|
||||||
TEST_METHOD(AppendSpecialChars)
|
TEST_METHOD(AppendSpecialChars)
|
||||||
{
|
{
|
||||||
append("\\\"\/\b\f\n\r");
|
append("\\\"\/\b\f\n\r");
|
||||||
|
Reference in New Issue
Block a user