Exemplo n.º 1
0
        public void Should_Return_Three_As_MaxJump()
        {
            var actual = new[]
            {
                "............",
                "............",
                "........X...",
                "............",
                "........X.X.",
                "............",
                ".....X.X....",
                "............",
                ".....X......",
                "............",
                ".....X.X....",
                "......O....."
            };
            var expected = Solution.GetMaxJump(actual);

            Assert.AreEqual(expected, 3, "The max jump should be 3");
        }