Bug 244

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 SystemAssignee: Celia <rabbitTrip96>
Status: CONFIRMED ---    
Severity: enhancement    
Priority: ---    
Version: unspecified   
Hardware: PC   
OS: Windows   
Attachments: Error Sceenshot

Description Katie 2017-12-01 23:40:19 HKT
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