예제 #1
0
        public void TestMethod3()
        {
            //Arrange
            int  n        = 20;
            long expected = 137846528820;

            //Act
            var res = LatticePaths.Solve(n);

            //Assert
            Assert.AreEqual(expected, res);
        }
예제 #2
0
        public void TestMethod2()
        {
            //Arrange
            int n        = 3;
            int expected = 20;

            //Act
            var res = LatticePaths.Solve(n);

            //Assert
            Assert.AreEqual(expected, res);
        }