public void TestClear() { FastMap<String, String> map = new FastMap<String, String>(); map.Add("foo", "bar"); map.Clear(); Assert.AreEqual(0, map.Count); Assert.IsTrue(map.IsEmpty); Assert.IsNull(map["foo"]); }
public void TestClear() { FastMap <String, String> map = new FastMap <String, String>(); map.Add("foo", "bar"); map.Clear(); Assert.AreEqual(0, map.Count); Assert.IsTrue(map.IsEmpty); Assert.IsNull(map["foo"]); }