public void left_from_west_is_south() { var direction = new West(_plateau); var newdirection = direction.TurnLeft(); Assert.That(newdirection, Is.TypeOf <South>()); }
public void Test_West_TurnLeft() { var direction = new West(); var left = direction.TurnLeft(); Assert.AreEqual("0 -1 S", left.GetDirectionAsString()); }
public void When_West_And_Turn_Left_Direction_Should_Be_South() { var direction = new West(_landscape); var newDirection = direction.TurnLeft(); Assert.That(newDirection, Is.TypeOf <South>()); }
public void West_TurnLeft_returns_South() { IDirection currentDirection = new West(); Assert.That(currentDirection.TurnLeft(), Is.TypeOf(typeof(South))); }