Пример #1
0
 public void SkipMax_Count3()
 {
     var res = SeqUtil.skipMax(0, "foo");
     Assert.AreEqual(3, res.Count());
     Assert.AreEqual(3, res.Count());
     Assert.AreEqual(3, res.Count());
 }
Пример #2
0
        public void SkipMax2()
        {
            var res = SeqUtil.skipMax(100, "foo");

            Assert.AreEqual(0, res.Count());
            Assert.AreEqual(0, res.Count());
            Assert.AreEqual(0, res.Count());
        }
Пример #3
0
        public void SkipMax1()
        {
            var res = SeqUtil.skipMax(1, "foo");

            Assert.AreEqual(2, res.Count());
            Assert.AreEqual(2, res.Count());
            Assert.AreEqual(2, res.Count());
        }
Пример #4
0
        public void SkipMax_Count2()
        {
            var res = SeqUtil.skipMax(100, "foo");

            Assert.Empty(res);
            Assert.Empty(res);
            Assert.Empty(res);
        }