public void ClimbStairs6()
        {
            //Arrange
            int n        = 6;
            int expected = 13;

            //Act
            Solution070 s      = new Solution070();
            int         actual = s.ClimbStairs(n);

            //Assert
            Assert.Equal(expected, actual);
        }
        public void ClimbStairs44()
        {
            //Arrange
            int n        = 44;
            int expected = 1134903170;

            //Act
            Solution070 s      = new Solution070();
            int         actual = s.ClimbStairs(n);

            //Assert
            Assert.Equal(expected, actual);
        }
Пример #3
0
 public void TestMethod(int n, int output)
 {
     Assert.Equal(output, Solution070.ClimbStairs(n));
 }