diff --git a/test/base-dictionary.cpp b/test/base-dictionary.cpp index 2d07c0f1a..81d754612 100644 --- a/test/base-dictionary.cpp +++ b/test/base-dictionary.cpp @@ -116,6 +116,11 @@ BOOST_AUTO_TEST_CASE(remove) dictionary->Set("test1", Empty); + BOOST_CHECK(dictionary->Contains("test1")); + BOOST_CHECK(dictionary->GetLength() == 2); + + dictionary->Remove("test1"); + BOOST_CHECK(!dictionary->Contains("test1")); BOOST_CHECK(dictionary->GetLength() == 1);