Пример #1
0
        public void Test_Positive()
        {
            var controller = new EController();

            var t = controller.Get(10);

            Assert.AreEqual(5, t.ElementAt(0));
            Assert.AreEqual(10, t.ElementAt(1));
        }
Пример #2
0
        public void Test_Negative()
        {
            var controller = new EController();

            var t = controller.Get(-2);

            Assert.AreEqual(1, t.Count());

            Assert.AreEqual(5, t.ElementAt(0));
        }