Skip to content

Commit b0d7cea

Browse files
Improve test coverage
1 parent 6f8cf18 commit b0d7cea

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/nmod_mat/test/t-lu_classical_delayed.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,10 @@ TEST_FUNCTION_START(nmod_mat_lu_classical_delayed, state)
9595
m = n_randint(state, 20);
9696
n = n_randint(state, 20);
9797

98-
mod = n_randtest_prime(state, 0);
98+
if (n_randint(state, 10) == 0)
99+
mod = n_nextprime(UWORD(1) << (FLINT_BITS - 1), 0);
100+
else
101+
mod = n_randtest_prime(state, 0);
99102

100103
for (r = 0; r <= FLINT_MIN(m, n); r++)
101104
{

0 commit comments

Comments
 (0)