public void ClimbStairs_Zero()
        {
            var solution = new _070_ClimbingStairs();
            var result = solution.ClimbStairs(0);

            Assert.AreEqual(0, result);
        }
        public void ClimbStairs_Six()
        {
            var solution = new _070_ClimbingStairs();
            var result = solution.ClimbStairs(6);

            Assert.AreEqual(13, result);
        }
        public void ClimbStairs_Three()
        {
            var solution = new _070_ClimbingStairs();
            var result = solution.ClimbStairs(3);

            Assert.AreEqual(3, result);
        }
        public void ClimbStairs_Four()
        {
            var solution = new _070_ClimbingStairs();
            var result = solution.ClimbStairs(4);

            Assert.AreEqual(5, result);
        }
        public void ClimbStairs_Seven()
        {
            var solution = new _070_ClimbingStairs();
            var result = solution.ClimbStairs(7);

            Assert.AreEqual(21, result);
        }
Beispiel #6
0
        public void ClimbStairs_Zero()
        {
            var solution = new _070_ClimbingStairs();
            var result   = solution.ClimbStairs(0);

            Assert.AreEqual(0, result);
        }
        public void ClimbStairs_Five()
        {
            var solution = new _070_ClimbingStairs();
            var result = solution.ClimbStairs(5);

            Assert.AreEqual(8, result);
        }
Beispiel #8
0
        public void ClimbStairs_Seven()
        {
            var solution = new _070_ClimbingStairs();
            var result   = solution.ClimbStairs(7);

            Assert.AreEqual(21, result);
        }
Beispiel #9
0
        public void ClimbStairs_Six()
        {
            var solution = new _070_ClimbingStairs();
            var result   = solution.ClimbStairs(6);

            Assert.AreEqual(13, result);
        }
Beispiel #10
0
        public void ClimbStairs_Five()
        {
            var solution = new _070_ClimbingStairs();
            var result   = solution.ClimbStairs(5);

            Assert.AreEqual(8, result);
        }
Beispiel #11
0
        public void ClimbStairs_Four()
        {
            var solution = new _070_ClimbingStairs();
            var result   = solution.ClimbStairs(4);

            Assert.AreEqual(5, result);
        }
Beispiel #12
0
        public void ClimbStairs_Three()
        {
            var solution = new _070_ClimbingStairs();
            var result   = solution.ClimbStairs(3);

            Assert.AreEqual(3, result);
        }