[UPDATED] Route Test

This commit is contained in:
Robin Koedood
2021-01-06 17:12:52 +01:00
parent ce264d78bc
commit b2c320dd14

View File

@@ -90,4 +90,13 @@ public class RouteTest {
assertEquals(expectedAfter, route.getTotalTime());
}
@Test
public void testDescription(){
route.setDescription("TEST");
String expected = "TEST";
assertEquals(expected, route.getDescription());
route.setDescription("FALSETEST");
assertNotEquals(expected, route.getDescription());
}
}