Bug 752

Summary: the program returns the Fid instead of FlightIndex inFlightTest.java.
Product: Group 05(2022) Reporter: yiweizhao4 <yiweizhao4-c>
Component: normal class sectionAssignee: yiweizhao4 <yiweizhao4-c>
Status: CONFIRMED ---    
Severity: normal    
Priority: ---    
Version: unspecified   
Hardware: PC   
OS: Windows   

Description yiweizhao4 2022-11-30 19:57:14 HKT
Steps to Reproduce:
1. inFlightTest.java, run the test case testQueryAllPass2()
2. we can see the result of flight.getFlightIndex(). 

Expected output:
The return of FlightIndex() should be 1.

Actual output:
the program returns the Fid instead of FlightIndex.
Comment 1 yiweizhao4 2022-11-30 19:57:39 HKT
Resolution:	Correct the getFlightIndex() in Flight.java.