public void PositionGivenZeroZeroNMovedOnceReturnsZeroOneN() { var position = new Position(0, 0, Orientation.N); position.Move(); Assert.AreEqual(0, position.X); Assert.AreEqual(1, position.Y); Assert.AreEqual(Orientation.N, position.Facing); }
public void PositionGivenOneOneWMovedOnceReturnsZeroOneW() { var position = new Position(1, 1, Orientation.W); position.Move(); Assert.AreEqual(0, position.X); Assert.AreEqual(1, position.Y); Assert.AreEqual(Orientation.W, position.Facing); }