Beispiel #1
0
 def setUp(self):
     self.parkingLot = ParkingLot(7)
 def setUp(self):
     self.parkingLot = ParkingLot(7)
     self.parkingLotUI = ParkingLotUI(self.parkingLot)
Beispiel #3
0
 def create_parking_lot(self):
     ParkingLot(5)
Beispiel #4
0
 def create_parking_lot_ui(self, capacity):
     parking_lot = ParkingLot(capacity)
     parking_lot_ui = ParkingLotUI(parking_lot)
     self.parkingLotUI = parking_lot_ui
     print("Created a parking lot with " + str(capacity) + " slots")