Added tests that adds a boolean to a hash table

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

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>