1
0
mirror of https://github.com/yarrick/iodine.git synced 2024-11-22 21:16:07 +03:00

Additional checks

This commit is contained in:
Erik Ekman 2007-02-11 15:04:44 +00:00
parent 68c4233f9b
commit 3341f3c268

View File

@ -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