Skip to content

Commit

Permalink
Fix test.
Browse files Browse the repository at this point in the history
  • Loading branch information
dfaranha committed Feb 7, 2021
1 parent 49e6bd9 commit c24ac17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_dv.c
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ static int shifting(void) {
a[RLC_DV_DIGS - 1] = 0;
dv_lshd(b, a, RLC_DV_DIGS, 1);
dv_rshd(c, b, RLC_DV_DIGS, 1);
TEST_ASSERT(fb_cmp(c, a) == RLC_EQ, end);
TEST_ASSERT(dv_cmp(c, a, RLC_DV_DIGS) == RLC_EQ, end);
} TEST_END;

if (RLC_DV_DIGS > 1) {
Expand All @@ -185,7 +185,7 @@ static int shifting(void) {
a[RLC_DV_DIGS - 2] = 0;
dv_lshd(b, a, RLC_DV_DIGS, 2);
dv_rshd(c, b, RLC_DV_DIGS, 2);
TEST_ASSERT(fb_cmp(c, a) == RLC_EQ, end);
TEST_ASSERT(dv_cmp(c, a, RLC_DV_DIGS) == RLC_EQ, end);
} TEST_END;
}
}
Expand Down

0 comments on commit c24ac17

Please sign in to comment.