Updated test cases for PermitType.
This commit is contained in:
parent
4d7e5263ee
commit
070446d01a
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user