merged cartest branch into car branch
This commit is contained in:
parent
cbc915bf50
commit
19b227c59f
|
@ -74,6 +74,7 @@ class CarTest {
|
||||||
|
|
||||||
for (PositionVector positionVector : invalidPositions) {
|
for (PositionVector positionVector : invalidPositions) {
|
||||||
boolean exception = false;
|
boolean exception = false;
|
||||||
|
setUp();
|
||||||
try {
|
try {
|
||||||
car.setPosition(positionVector);
|
car.setPosition(positionVector);
|
||||||
} catch (IllegalArgumentException e) {
|
} catch (IllegalArgumentException e) {
|
||||||
|
|
Loading…
Reference in New Issue