Exemplo n.º 1
0
        public void CountPathsWithObstaclesTest(int expectedCount, params int[][] grid)
        {
            var count = PathsOnGrid.CountPaths(grid);

            Assert.Equal(expectedCount, count);
        }
Exemplo n.º 2
0
        public void CountPathsTest(int n, int expectedCount)
        {
            var count = PathsOnGrid.CountPaths(n);

            Assert.Equal(expectedCount, count);
        }