예제 #1
0
        public void Test20x20()
        {
            var  target          = new Problem15.Program();
            long expectedResults = 137846528820;
            long actualResults   = target.GetPaths(20);

            Assert.AreEqual <long>(expectedResults, actualResults);
        }
예제 #2
0
        public void Test10x10()
        {
            var  target          = new Problem15.Program();
            long expectedResults = 184756;
            long actualResults   = target.GetPaths(10);

            Assert.AreEqual <long>(expectedResults, actualResults);
        }
예제 #3
0
        public void Test15x15()
        {
            var  target          = new Problem15.Program();
            long expectedResults = 155117520;
            long actualResults   = target.GetPaths(15);

            Assert.AreEqual <long>(expectedResults, actualResults);
        }
예제 #4
0
        public void Test4x4()
        {
            var  target          = new Problem15.Program();
            long expectedResults = 70;
            long actualResults   = target.GetPaths(4);

            Assert.AreEqual <long>(expectedResults, actualResults);
        }