set_ptr = new HashSet<int>; TEST_NOT_EQUAL(set_ptr, 0) RESULT CHECK(~HashSet() throw()) delete set_ptr; RESULT CHECK(Size size() const throw()) HashSet<int> hs; TEST_EQUAL(hs.size(), 0) RESULT CHECK(Size getSize() const throw()) HashSet<int> hs; TEST_EQUAL(hs.getSize(), 0) RESULT CHECK(HashSet(const HashSet& hash_set) throw()) HashSet<int> hs; hs.insert(0); hs.insert(1); hs.insert(2); HashSet<int> nhs(hs); TEST_EQUAL(nhs.getSize(), 3) TEST_EQUAL(nhs.has(0), true) TEST_EQUAL(nhs.has(1), true) TEST_EQUAL(nhs.has(2), true) TEST_EQUAL(nhs.has(3), false) RESULT