@Test public void isItRaining() { assertTrue(grandPrix.isItRaining(new Random(seed2))); }
public boolean isItRaining(Random random) { return random.nextInt(101) <= rainChance; }
GrandPrix { public boolean isItRaining(Random random) { return random.nextInt(101) <= rainChance; } }
GrandPrix { public boolean isItRaining(Random random) { return random.nextInt(101) <= rainChance; } GrandPrix(UUID id, Circuit circuit, Instant date, int laps, int rainChance); }
GrandPrix { public boolean isItRaining(Random random) { return random.nextInt(101) <= rainChance; } GrandPrix(UUID id, Circuit circuit, Instant date, int laps, int rainChance); int getRainChance(); boolean isItRaining(Random random); UUID getId(); Circuit getCircuit(); Instant getDate(); int getLaps(); boolean equals(Object other); @Override int hashCode(); @Override String toString(); }
GrandPrix { public boolean isItRaining(Random random) { return random.nextInt(101) <= rainChance; } GrandPrix(UUID id, Circuit circuit, Instant date, int laps, int rainChance); int getRainChance(); boolean isItRaining(Random random); UUID getId(); Circuit getCircuit(); Instant getDate(); int getLaps(); boolean equals(Object other); @Override int hashCode(); @Override String toString();  }