public void Get_West_For_W() { OrientationState orientation = CommandHelper.OrientationFactory("W"); Assert.AreSame(typeof(West), orientation.GetType()); }
public void Get_North_For_InvalidCommand() { OrientationState orientation = CommandHelper.OrientationFactory("X"); Assert.AreSame(typeof(North), orientation.GetType()); }
public void When_Create_Rover_The_Initial_Orientation_Equals_To_Input() { Assert.AreSame(_inputOrientation.GetType(), _rover.Orientation.GetType()); }