Small fix.
This commit is contained in:
parent
5cbbbd8b29
commit
a740c60f6d
@ -685,7 +685,7 @@ int stoplight(int nargs, char **args) {
|
|||||||
passed += car_locations[i] == PASSED_CAR ? 1 : 0;
|
passed += car_locations[i] == PASSED_CAR ? 1 : 0;
|
||||||
}
|
}
|
||||||
if ((test_status == SUCCESS) &&
|
if ((test_status == SUCCESS) &&
|
||||||
(!failif((passed != NCARS), "failed: not enough cars")) &&
|
(!(failif((passed != NCARS), "failed: not enough cars"))) &&
|
||||||
(!(failif((all_quadrant != required_quadrant), "failed: didn't do the right turns"))) &&
|
(!(failif((all_quadrant != required_quadrant), "failed: didn't do the right turns"))) &&
|
||||||
(!(failif((max_car_count <= 1), "failed: no concurrency achieved")))) {};
|
(!(failif((max_car_count <= 1), "failed: no concurrency achieved")))) {};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user