Esempio n. 1
0
        public void Aladdin_Position()
        {
            var actual = new[]
            {
                "......",
                "......",
                "..X...",
                "......",
                "..X.X.",
                "...O.."
            };
            var expected = Solution.AladdinPostion(actual);

            Assert.IsNotNull(expected);
            Assert.AreEqual(expected[0], 3, "X should be equal to 3");
            Assert.AreEqual(expected[1], 5, "The Y should be equal to 5");
        }