| Summary: | The passenger in the waiting queue should get on the bus in first come first serve order | ||
|---|---|---|---|
| Product: | Bus Monitoring System | Reporter: | Katie <bearTrip95> |
| Component: | Bus Monitoring System | Assignee: | Celia <rabbitTrip96> |
| Status: | CONFIRMED --- | ||
| Severity: | enhancement | ||
| Priority: | --- | ||
| Version: | unspecified | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Attachments: | Error Sceenshot | ||
Created attachment 15 [details] Error Sceenshot Problem: When I test the removeWaitingPassenger() in Station.class which use to check whether the passenger in the queue can get on the bus based on the bus capacity. The problem is the queuing passengers were removed in an incorrect order. Step to Reproduce: Write test case for removeWiatingPassenger() Run testRemoveWaitingPassenger#() Actual Result: Child Passenger Expected Result: Elderly Passenger