We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Throw an error like this:
The simulation runs smoothly
Check simulation data before starting it. Additionally, in:
func (v *Vehicle) Drive(allTrips []*Trip, step int, bonus int16) (score int) { // until the vehicle handles all scheduled rides if v.CurrentTrip >= len(v.Trips) { return } trip := allTrips[v.Trips[v.CurrentTrip]] trip.SomeoneIsOnIt()
We should check if someone is already on it
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected Behavior
Throw an error like this:

Current Behavior
The simulation runs smoothly
Possible Solution
Check simulation data before starting it.
Additionally, in:
We should check if someone is already on it
The text was updated successfully, but these errors were encountered: