mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-26 06:56:05 +03:00
Additional checks
This commit is contained in:
parent
68c4233f9b
commit
3341f3c268
@ -136,10 +136,12 @@ START_TEST(test_find_available_user)
|
|||||||
users[3].active = 0;
|
users[3].active = 0;
|
||||||
|
|
||||||
fail_unless(find_available_user() == 3);
|
fail_unless(find_available_user() == 3);
|
||||||
|
fail_unless(find_available_user() == -1);
|
||||||
|
|
||||||
users[3].last_pkt = 55;
|
users[3].last_pkt = 55;
|
||||||
|
|
||||||
fail_unless(find_available_user() == 3);
|
fail_unless(find_available_user() == 3);
|
||||||
|
fail_unless(find_available_user() == -1);
|
||||||
}
|
}
|
||||||
END_TEST
|
END_TEST
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user