Пример #1
0
        public void FullEnumeratorTest()
        {
            var intSet = new Kibnet.IntSet(false, true);

            var last = -1;

            foreach (var i in intSet.Take(100000))
            {
                Assert.Equal(last + 1, i);
                Assert.True(intSet.Contains(i));
                last = i;
            }
        }