예제 #1
0
def test_level(level):
    create_board()
    car1 = car('A', (2,1), 'd')
    car2 = car('B', (4,3), 'd')
    car3 = car('X', (2,3), 'r')
    truck1 = truck('Q', (6,1), 'd')
    truck2 = truck('R', (3,5), 'r')
    truck3 = truck('S', (1,2), 'd')
    create_board()
    display_object(car1)
    display_object(car2)
    display_object(car3)
    display_object(truck1)
    display_object(truck2)
    display_object(truck3)
예제 #2
0
 def test(self):
     car1 = car('A', (2,2), 'd')
     self.display_object(car1)