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