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

            Assert.True(bag.Contains(1));
            Assert.False(bag.Contains(10));
        }