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

test profile

This commit is contained in:
oblonski 2015-03-24 09:29:46 +01:00
parent 5b4d47a546
commit 3fa4d9c444

View file

@ -146,7 +146,11 @@ public class VehicleTypeImplTest {
assertTrue(type.equals(type2));
}
@Test
public void whenAddingProfile_itShouldBeCorrect(){
VehicleTypeImpl type = VehicleTypeImpl.Builder.newInstance("type").setProfile("car").build();
assertEquals("car",type.getProfile());
}
}