예제 #1
0
 public void TestClear()
 {
     hm.Clear();
     Assert.AreEqual(0, hm.Size(), "Clear failed to reset Size");
     for (int i = 0; i < hmSize; i++)
     {
         Assert.IsNull(hm.Get(objArray2[i]), "Failed to Clear all elements");
     }
 }
예제 #2
0
 public override void Clear()
 {
     parent.Clear();
 }