Restore correct arrival expectation after merge-gate demonstration (refs #9)
smartpark-app-ci/pipeline/pr-main This commit looks good
smartpark-app-ci/pipeline/head This commit looks good

This commit is contained in:
2026-10-23 18:54:28 +00:00
parent 404185fcd0
commit c69d777b38
@@ -18,7 +18,7 @@ public final class ParkingLotTest {
check(lot.getCapacity() == 120, "capacity");
check(lot.getOccupiedSpaces() == 78, "initial occupied spaces");
lot.vehicleEnters();
check(lot.getAvailableSpaces() == 40, "arrival decreases availability");
check(lot.getAvailableSpaces() == 41, "arrival decreases availability");
lot.vehicleLeaves();
check(lot.getAvailableSpaces() == 42, "departure restores availability");
}