Esempio 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.");
 }
Esempio n. 2
0
 public void Clear()
 {
     Assert.Throws <NotSupportedException>(() => Set.Clear());
 }