Bug 752 - the program returns the Fid instead of FlightIndex inFlightTest.java.
Summary: the program returns the Fid instead of FlightIndex inFlightTest.java.
Status: CONFIRMED
Alias: None
Product: Group 05(2022)
Classification: Unclassified
Component: normal class section (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- normal
Assignee: yiweizhao4
URL:
Depends on:
Blocks:
 
Reported: 2022-11-30 19:57 HKT by yiweizhao4
Modified: 2022-11-30 19:57 HKT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.