Skip to content

Instantly share code, notes, and snippets.

@jasongorman
Created November 22, 2019 09:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasongorman/b2621c1439a80c308f44f20aafadbb19 to your computer and use it in GitHub Desktop.
Save jasongorman/b2621c1439a80c308f44f20aafadbb19 to your computer and use it in GitHub Desktop.
@Test
@Parameters(method = "iterations")
public void loadsTruck(int n) {
eventually(Arrays.asList(bayLoader, truckLoader)
, () -> bay.isEmpty() && truck.isLoaded(), 2, 1000);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment