Exemplo n.º 1
0
 public void Clear()
 {
     Set.AddAll(UniqueStuff);
     Set.Clear();
     Assert.IsTrue(Set.Count == 0, "Calling Clear () did not remove all of the elements.");
 }
Exemplo n.º 2
0
 public void Clear()
 {
     Assert.Throws <NotSupportedException>(() => Set.Clear());
 }