Пример #1
0
        public void UniquePathsTest_OneRow()
        {
            var solution = new _062_UniquePaths();
            var result = solution.UniquePaths(1, 7);

            Assert.AreEqual(1, result);
        }
Пример #2
0
        public void UniquePathsTest()
        {
            var solution = new _062_UniquePaths();
            var result   = solution.UniquePaths(3, 7);

            Assert.AreEqual(28, result);
        }
Пример #3
0
        public void UniquePathsTest()
        {
            var solution = new _062_UniquePaths();
            var result = solution.UniquePaths(3, 7);

            Assert.AreEqual(28, result);
        }
Пример #4
0
        public void UniquePathsTest_OneColumn()
        {
            var solution = new _062_UniquePaths();
            var result   = solution.UniquePaths(7, 1);

            Assert.AreEqual(1, result);
        }