public void left_from_east_is_north() { var direction = new East(_plateau); var newdirection = direction.TurnLeft(); Assert.That(newdirection, Is.TypeOf <North>()); }
public void Test_East_TurnLeft() { var direction = new East(); var left = direction.TurnLeft(); Assert.AreEqual("0 1 N", left.GetDirectionAsString()); }
public void When_East_And_Turn_Left_Direction_Should_Be_North() { var direction = new East(_landscape); var newDirection = direction.TurnLeft(); Assert.That(newDirection, Is.TypeOf <North>()); }
public void When_Direction_Is_East_And_Turn_Left_Direction_Should_Be_North() { //Arrange var directionPoint = new East(_grid); //Act var actualResult = directionPoint.TurnLeft(); //Assert Assert.That(actualResult, Is.TypeOf <North>()); }
public void East_TurnLeft_returns_North() { IDirection currentDirection = new East(); Assert.That(currentDirection.TurnLeft(), Is.TypeOf(typeof(North))); }