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

add javadocs and tests

This commit is contained in:
oblonski 2014-01-16 17:07:38 -05:00
parent ca0caf450c
commit 6b4656afff
4 changed files with 87 additions and 3 deletions

View file

@ -0,0 +1,12 @@
package jsprit.core.problem.job;
import org.junit.Test;
public class DeliveryTest {
@Test(expected=IllegalStateException.class)
public void whenNeitherLocationIdNorCoordIsSet_itThrowsException(){
Delivery.Builder.newInstance("p", 0).build();
}
}

View file

@ -0,0 +1,12 @@
package jsprit.core.problem.job;
import org.junit.Test;
public class PickupTest {
@Test(expected=IllegalStateException.class)
public void whenNeitherLocationIdNorCoordIsSet_itThrowsException(){
Pickup.Builder.newInstance("p", 0).build();
}
}