Ejemplo n.º 1
0
        public void MoverAvailableNeighboursTest()
        {
            var visited = new HashSet <(int, int)> {
                (0, 0), (1, 1), (2, 1), (2, 2)
            };

            var availableNeighbours = Mover.AvailableNeighbours(visited, 2, 2, 3, 3);

            Assert.AreEqual(1, availableNeighbours.Count);
        }