aboutsummaryrefslogtreecommitdiff
path: root/test/src/util/test_bits.c
diff options
context:
space:
mode:
authorJ08nY2025-03-20 16:22:28 +0100
committerJ08nY2025-03-20 16:22:47 +0100
commitefa899bab078ef57d55ffbde9343d1320a9b08a0 (patch)
tree0938d637fc389175c346e7e41057f71eb43638d6 /test/src/util/test_bits.c
parentce6f2ddbb6c1cd718f3e093e71eddb7ab4a69f07 (diff)
downloadecgen-efa899bab078ef57d55ffbde9343d1320a9b08a0.tar.gz
ecgen-efa899bab078ef57d55ffbde9343d1320a9b08a0.tar.zst
ecgen-efa899bab078ef57d55ffbde9343d1320a9b08a0.zip
Fix discriminant iteration in CM with composite order.
The prime impl is still broken. The family gen is as well.
Diffstat (limited to '')
-rw-r--r--test/src/util/test_bits.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/src/util/test_bits.c b/test/src/util/test_bits.c
index 269d1f6..e5a2f73 100644
--- a/test/src/util/test_bits.c
+++ b/test/src/util/test_bits.c
@@ -243,14 +243,14 @@ Test(bits, test_bits_or) {
bits_t *other_bits = bits_new(6);
other_bits->bits[0] = 0b10000000;
- bits_t * or = bits_or(bits, other_bits);
+ bits_t *or = bits_or(bits, other_bits);
cr_assert_not_null(or, );
cr_assert_eq(or->bitlen, 10, );
cr_assert_eq(or->bits[0], 0b00001000, );
cr_assert_eq(or->bits[1], 0b11000000, );
bits_free(&bits);
bits_free(&other_bits);
- bits_free(& or);
+ bits_free(&or);
}
Test(bits, test_bits_and) {