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));
        }
예제 #2
0
 public void OverlapsTrueTest()
 {
     set.Add(1);
     Assert.IsTrue(set.Overlaps(list));
 }