1
0
Fork 0
mirror of https://github.com/graphhopper/jsprit.git synced 2020-01-24 07:45:05 +01:00

simplify and remove redundant stuff

This commit is contained in:
oblonski 2019-04-10 22:30:39 +02:00
parent 26a9ecfdfa
commit 31cd22ece0
No known key found for this signature in database
GPG key ID: 179DE487285680D1

View file

@ -136,11 +136,6 @@ public class VehicleTypeImplTest {
VehicleTypeImpl type = VehicleTypeImpl.Builder.newInstance("type").setCostPerTime(-10).build();
}
@Test
public void whenSettingPerTimeCosts_itShouldBeSetCorrectly() {
VehicleTypeImpl type = VehicleTypeImpl.Builder.newInstance("type").setCostPerTime(10).build();
assertEquals(10.0, type.getVehicleCostParams().perTimeUnit, 0.0);
}
@Test
public void whenHavingTwoTypesWithTheSameId_theyShouldBeEqual() {