kata/rover/test_rover.py

6 lines
167 B
Python
Raw Normal View History

2019-11-15 20:29:06 +01:00
from rover import *
def test_rover_constructor():
rov = Rover(pos=(0, 0), planet_size=(100, 100))
assert(rov.pos == (0, 0) and rov.planet_size == (100, 100))