def test_turns_left(self, initial: Direction, final: Direction) -> None: rover = Rover(Coordinates(3, 3), initial) rover.turn_left() assert rover.direction() == final
def test_starts_at_the_given_position_and_facing_direction(self) -> None: rover = Rover(Coordinates(1, 3), Direction.north()) assert rover.position() == Coordinates(1, 3) assert rover.direction() == Direction.north()