Exemplo n.º 1
0
        public void Test3()
        {
            int[, ] input = new int[0, 0];
            var actual = Class32.PathExists(input);

            Assert.False(actual);
        }
Exemplo n.º 2
0
        public void Test5()
        {
            int[, ] input = new int[2, 2] {
                { 0, 0 }, { 1, 0 }
            };
            var actual = Class32.PathExists(input);

            Assert.True(actual);
        }
Exemplo n.º 3
0
        public void Test2()
        {
            int[, ] input = new int[4, 4] {
                { 0, 0, 0, 1 }, { 1, 1, 1, 1 }, { 1, 1, 0, 1 }, { 1, 1, 0, 0 }
            };
            var actual = Class32.PathExists(input);

            Assert.False(actual);
        }