- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {FileOutputStream f =
File file;new FileOutputStream(file)
String name;new FileOutputStream(name)
File file;new FileOutputStream(file, true)
- Smart code suggestions by Codota
}
this.deadlockPreventionMessages.add(vehicle.scheduleDeadlockPreventionMessage( this.deadlockPreventionMessages.getLast().getMessageArrivalTime() + config.getSqueezeTime(), this)); + config.getSqueezeTime(), this));
public void testParametersSetCorrectly() { Config config = super.loadConfig(this.getPackageInputDirectory() + "config.xml"); JDEQSimConfigGroup jdeqSimConfigGroup = ConfigUtils.addOrGetModule(config, JDEQSimConfigGroup.NAME, JDEQSimConfigGroup.class); assertEquals(360.0, jdeqSimConfigGroup.getSimulationEndTime(), EPSILON); assertEquals(2.0, jdeqSimConfigGroup.getFlowCapacityFactor(), EPSILON); assertEquals(3.0, jdeqSimConfigGroup.getStorageCapacityFactor(), EPSILON); assertEquals(3600.0, jdeqSimConfigGroup.getMinimumInFlowCapacity(), EPSILON); assertEquals(10.0, jdeqSimConfigGroup.getCarSize(), EPSILON); assertEquals(20.0, jdeqSimConfigGroup.getGapTravelSpeed(), EPSILON); assertEquals(9000.0, jdeqSimConfigGroup.getSqueezeTime(), EPSILON); } }