コード例 #1
0
        public void GetCharAtCurrentPositionTest()
        {
            var charAt = _maze.MazeMap.FirstOrDefault(m => m.Item1.X == _explorer.CurrentPosition.X && m.Item1.Y == _explorer.CurrentPosition.Y);

            Assert.AreEqual(_explorer.GetCharAtCurrentPosition(), charAt.Item2);
        }