From ca99749f282334996d5e4f6e186d503f911e3cf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Blanchon?= Date: Thu, 26 Jun 2014 12:56:30 +0200 Subject: [PATCH] Added a test that appends 2 string --- JsonGeneratorTests/StringBuilderTests.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/JsonGeneratorTests/StringBuilderTests.cpp b/JsonGeneratorTests/StringBuilderTests.cpp index 54412ac3..b89705e5 100644 --- a/JsonGeneratorTests/StringBuilderTests.cpp +++ b/JsonGeneratorTests/StringBuilderTests.cpp @@ -35,6 +35,13 @@ namespace JsonGeneratorTests assertResultIs("ABCD"); } + TEST_METHOD(AppendOneTwoStrings) + { + append("ABCD"); + append("EFGH"); + assertResultIs("ABCDEFGH"); + } + TEST_METHOD(AppendSpecialChars) { append("\\\"\/\b\f\n\r");