Added a test with two strings in a hash table

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

No files matched your search

+3 -3
View File
@@ -15,21 +15,21 @@ namespace JsonGeneratorTests
jsonIs("[]");
}
TEST_METHOD(AddNull)
TEST_METHOD(Null)
{
addValue((char*)0);
jsonIs("[null]");
}
TEST_METHOD(AddOneString)
TEST_METHOD(OneString)
{
addValue("hello");
jsonIs("[\"hello\"]");
}
TEST_METHOD(AddTwoStrings)
TEST_METHOD(TwoStrings)
{
addValue("hello");
addValue("world");