@Test public void getCarConfiguration() { assertEquals(configuration, cs.getConfiguration()); }
public CarConfiguration getConfiguration() { return configuration; }
CarSimulator { public CarConfiguration getConfiguration() { return configuration; } }
CarSimulator { public CarConfiguration getConfiguration() { return configuration; } CarSimulator(CarConfiguration configuration, CarParameters parameters); }
CarSimulator { public CarConfiguration getConfiguration() { return configuration; } CarSimulator(CarConfiguration configuration, CarParameters parameters); CarConfiguration getConfiguration(); void setConfiguration(CarConfiguration configuration); CarParameters getParameters(); void setParameters(CarParameters parameters); double calculateDelta(Random random); boolean hasCrashed(boolean raining, boolean nearby, Random random); boolean isNearby(CarSimulationResult carResult, RaceSimulationResult raceResult,
                            double distance); }
CarSimulator { public CarConfiguration getConfiguration() { return configuration; } CarSimulator(CarConfiguration configuration, CarParameters parameters); CarConfiguration getConfiguration(); void setConfiguration(CarConfiguration configuration); CarParameters getParameters(); void setParameters(CarParameters parameters); double calculateDelta(Random random); boolean hasCrashed(boolean raining, boolean nearby, Random random); boolean isNearby(CarSimulationResult carResult, RaceSimulationResult raceResult,
                            double distance);  }