Added tests that adds a boolean to a hash table

This commit is contained in:
Benoît Blanchon committed 2014-06-27 13:59:11 +02:00
1 parent 495efd8629
commit 93ddb9498e
2 files changed
+19 -4

No files matched your search

+15
View File
@@ -51,6 +51,21 @@ namespace JsonGeneratorTests
jsonIs("{\"key\":null}");
}
TEST_METHOD(OneTrue)
{
add("key", true);
jsonIs("{\"key\":true}");
}
TEST_METHOD(OneFalse)
{
add("key", false);
jsonIs("{\"key\":false}");
}
private:
template<typename T>