Skip to content
New issue

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

Integration test 1 #21

Open
8 tasks
jkairoy opened this issue Apr 5, 2021 · 0 comments
Open
8 tasks

Integration test 1 #21

jkairoy opened this issue Apr 5, 2021 · 0 comments
Assignees

Comments

@jkairoy
Copy link
Collaborator

jkairoy commented Apr 5, 2021

  • Create n new accounts
  • Create new trip with cap m < n
  • Everyone enters the lottery
  • Some people win the lottery
  • Create a new trip with cap i = n-j (the number of all of the remaining people who did not enter in the first trip)
  • Everyone enters the trip (enter some people with cars but make sure they are chosen from the group that already won the lottery)
  • Set the car cap to be greater than the number of cars
  • Run the lottery (everyone who had cars should be chosen, even though they had lower weights, everyone without a car should be chosen from the group that did not win the first trip)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants