Exemplo n.º 1
0
        public void OverlapsTest3()
        {
            var bag = new HashBag <int> {
                3, 5, 1, 4, 6, 2
            };
            var l = new List <int> {
                1, 2, 3, 4, 5, 6
            };

            Assert.True(bag.Overlaps(l));
        }
Exemplo n.º 2
0
        public void OverlapsTest1()
        {
            var bag = new HashBag <int> {
                3, 5, 1, 4, 6, 2
            };
            var l = new List <int> {
                1, 2, 3, 9
            };

            Assert.False(bag.Overlaps(l));
        }