mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
test profile
This commit is contained in:
parent
5b4d47a546
commit
3fa4d9c444
1 changed files with 5 additions and 1 deletions
|
|
@ -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());
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue