Closed Dhud6 closed 5 months ago
Updated flight.py to add expected_departure_time
, expected_arrival_time
, actual_departure_time
, and actual_arrival_time
to the constructor. Need to add the unit tests via pytest.
Created the initial unit test setup with test_flight.py
. Still needs unit tests for value and type checking.
Finished adding tests to the test_flight.py
. Also added unit tests for test_airport.py
.
Description
Add four new data members:
The expected departure and arrival times should be added to the constructor since they can be derived from the expected travel time of the route, boarding, and deboarding times. The actual times must be initialized after the flight has landed, you you should assign then
None
Testing
Also add unit tests