public void OverlapsIsCorrect() { var set = new MySet <char>() { 'a', 'b', 'c', 'd' }; var list = new List <char>() { 'b', 'e', 'f' }; Assert.IsTrue(set.Overlaps(list)); set.Remove('b'); Assert.IsFalse(set.Overlaps(list)); }
public void OverlapsTrueTest() { set.Add(1); Assert.IsTrue(set.Overlaps(list)); }