Skip to content

Commit 0aad31c

Browse files
committed
another assert
1 parent 574cfb8 commit 0aad31c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/library_checker_aizu_tests/math/xor_basis_intersection.test.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ void check_condition_ordered(
2020
ll or_bits3 = 0;
2121
bitset<lg> or_bits4 = 0;
2222
for (int i = 0; i < lg; i++) {
23+
assert(basis3.b[i] == 0 ||
24+
bit_floor(1ULL * basis3.b[i]) == (1ULL << i));
2325
assert(
2426
(bit_floor(uint64_t(basis3.b[i])) & or_bits3) == 0);
2527
assert((bit_floor(uint64_t(basis4.b[i].to_ullong())) &

0 commit comments

Comments
 (0)