public void TestExceptWith() { var set = new TestSet <int> { 1, 2, 3, 4 }; set.ExceptWith(new[] { 3, 4, 5 }); Assert.True(new[] { 1, 2 }.SequenceEqual(set)); }
public void TestExceptWith() { var set = new TestSet <int> { 1, 2, 3, 4 }; set.ExceptWith(new[] { 3, 4, 5 }); Assert.True(new[] { 1, 2 }.SequenceEqual(set)); }