Added a test with two strings in a hash table

This commit is contained in:
Benoît Blanchon
2014-06-27 13:52:01 +02:00
parent 1800a8e89e
commit e26cea59e5
2 changed files with 10 additions and 3 deletions

View File

@ -22,6 +22,13 @@ namespace JsonGeneratorTests
jsonIs("{\"key\":\"value\"}");
}
TEST_METHOD(TwoStrings)
{
add("key1", "value1");
add("key2", "value2");
jsonIs("{\"key1\":\"value1\",\"key2\":\"value2\"}");
}
private:
template<typename T>