mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-14 18:57:07 -07:00
Fix Unit Tests
This commit is contained in:
parent
0a3378bba9
commit
c10586fbc3
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ static MunitResult test_takion_send_buffer(const MunitParameter params[], void *
|
|||
{
|
||||
ChiakiSeqNum32 ack_num = nums_expected[nums_count_cur - 1]
|
||||
+ munit_rand_int_range(-1, 1) * munit_rand_int_range(1, 32);
|
||||
chiaki_takion_send_buffer_ack(&send_buffer, ack_num);
|
||||
chiaki_takion_send_buffer_ack(&send_buffer, ack_num, NULL, NULL); // TODO: test acked seqnums params
|
||||
seqnums_ack(nums_expected, &nums_count_cur, ack_num);
|
||||
bool correct = check_send_buffer_contents(&send_buffer, nums_expected, nums_count_cur);
|
||||
munit_assert(correct);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue