Skip to content

purboday/cars-solution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cars Solution

Files

  • Car.py - Implementation of the Car, Convertible and Engine classes.
  • ParkingLot.py - Implementation of the ParkingLot class.
  • RaceTest.py - Test script that creates two types of cars and then races them.
  • ParingTest.py - Test script that creates five car objects and one parking lot object and tries to park the cars into the parking lot.

Running the tests

Run the files RaceTest.py and ParkingTest.py on Python.

About

A simple example of a car and engine simulator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages