Added a test of one number in a hash table

This commit is contained in:
Benoît Blanchon
2014-06-27 13:54:51 +02:00
parent 5f77949636
commit f548093d86
2 changed files with 8 additions and 1 deletions

View File

@ -37,6 +37,13 @@ namespace JsonGeneratorTests
jsonIs("{\"key1\":\"value1\",\"key2\":\"value2\"}");
}
TEST_METHOD(OneNumber)
{
add("pi", 3.14);
jsonIs("{\"pi\":3.14}");
}
private:
template<typename T>