Fixed Error in CarTest.java #20

Merged
schrom01 merged 9 commits from car into main 2022-03-10 14:51:27 +01:00
1 changed files with 1 additions and 0 deletions
Showing only changes of commit 19b227c59f - Show all commits

View File

@ -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) {