hm2.insert("b", 1); TEST_EQUAL(hm == hm2, true) hm2.insert("b", 2); TEST_EQUAL(hm2["b"], 1) TEST_EQUAL(hm == hm2, true) hm2.insert("b", 1); hm2.insert("c", 1); TEST_EQUAL(hm == hm2, false) RESULT CHECK(BALL_CREATE(StringHashMap)) StringHashMap<int> hm; hm.insert("a", 0); StringHashMap<int>* p = (StringHashMap<int>*) hm.create(false, true); StringHashMap<int> empty; TEST_EQUAL(*p == empty, true) delete p; p = (StringHashMap<int>*)hm.create(); bool test = (*p == hm); TEST_EQUAL(test, true) delete p; RESULT CHECK(bool remove(const String& key) throw()) StringHashMap<int> hm; hm.insert("a", 0); hm.insert("b", 1); hm.insert("c", 2); TEST_EQUAL(hm.remove("a"), true)