123456789101112 |
- from rover import Rover
- from rover.rover import DIRECTIONS
- def test_can_land():
- assert Rover()
- def test_has_location_and_direction():
- rover = Rover()
- assert isinstance(rover.location.x, int)
- assert isinstance(rover.location.y, int)
- assert rover.location.direction in DIRECTIONS
|