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