public void copyTest() { MySet <string> s = new MySet <string>(); s.Add("a"); s.Add("b"); var c = s.Copy(); bool expected = true; bool actual = c.Contains("a") & c.Contains("b"); Assert.AreEqual(expected, actual); }