コード例 #1
0
        private static void GetNextTowartTest(Position position, Direction direction, Position result)
        {
            //Act
            var nextPos = position.GetNextTowards(direction);

            //Assert
            Assert.AreEqual(result, nextPos);
        }