Updated test cases for PermitType.

This commit is contained in:
Gerhard Hoffmann 2024-07-24 17:35:46 +02:00
parent 4d7e5263ee
commit 070446d01a

View File

@ -738,10 +738,11 @@ int main() {
}
#if 1
PermitType permitType(PERMIT_TYPE::SHORT_TERM_PARKING);
for (int i = 200; i <= 200; i += 10) {
cost = i;
if ((cs = compute_duration_for_parking_ticket(&cfg, start, cost, end))) { // return value
if ((cs = compute_duration_for_parking_ticket(&cfg, start, cost, end, permitType))) { // return value
}
if (!cs) {