mirror of
https://gitlab.com/80486DX2-66/gists
synced 2024-11-08 18:02:23 +05:30
clock-malfunction-imitation.c: seed stdlib randomization
This commit is contained in:
parent
c2947aee3a
commit
3165f3c358
@ -167,6 +167,8 @@ void time_flow_test(time_t (*time_function)(time_t*)) {
|
||||
}
|
||||
|
||||
int main(void) {
|
||||
srand(time(NULL));
|
||||
|
||||
TEST_LABEL("clock_change_time");
|
||||
time_flow_test(&clock_change_time);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user