Exemplo n.º 1
0
 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"]);
 }
Exemplo n.º 2
0
        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"]);
        }