示例#1
0
        public void GetFibonacciIterator_GetIteratorOrder_Desc()
        {
            var calculator = new FibonacciCalculator();
            var orderName  = calculator.GetIteratorOrder(-10);

            string etalon = "DESC";

            Assert.AreEqual(etalon, orderName);
        }
示例#2
0
        public void GetFibonacciIterator_GetIteratorOrder_Asc_ForNormalCount()
        {
            var calculator = new FibonacciCalculator();
            var orderName  = calculator.GetIteratorOrder(10);

            string etalon = "ASC";

            Assert.AreEqual(etalon, orderName);
        }