Ejemplo n.º 1
0
 public void testClear() {
   IDictionary<String, String> map = new FastMap<String, String>();
   map.put("foo", "bar");
   map.clear();
   Assert.AreEqual(0, map.Count);
   Assert.True(map.isEmpty());
   Assert.IsNull(map.get("foo"));
 }
Ejemplo n.º 2
0
        public void testClear()
        {
            IDictionary <String, String> map = new FastMap <String, String>();

            map.put("foo", "bar");
            map.clear();
            Assert.AreEqual(0, map.Count);
            Assert.True(map.isEmpty());
            Assert.IsNull(map.get("foo"));
        }