Added a test of one string over hash table's capacity

This commit is contained in:
Benoît Blanchon
2014-06-27 13:53:55 +02:00
parent e26cea59e5
commit 5f77949636
2 changed files with 9 additions and 1 deletions

View File

@ -29,6 +29,14 @@ namespace JsonGeneratorTests
jsonIs("{\"key1\":\"value1\",\"key2\":\"value2\"}");
}
TEST_METHOD(OneStringOverCapacity)
{
add("key1", "value1");
add("key2", "value2");
add("key3", "value3");
jsonIs("{\"key1\":\"value1\",\"key2\":\"value2\"}");
}
private:
template<typename T>