diff --git a/src/test/java/de/tilman_neumann/jml/factor/siqs/poly/BParamTest.java b/src/test/java/de/tilman_neumann/jml/factor/siqs/poly/BParamTest.java index 0071b20e..7d4c8db2 100644 --- a/src/test/java/de/tilman_neumann/jml/factor/siqs/poly/BParamTest.java +++ b/src/test/java/de/tilman_neumann/jml/factor/siqs/poly/BParamTest.java @@ -14,6 +14,8 @@ package de.tilman_neumann.jml.factor.siqs.poly; import static de.tilman_neumann.jml.base.BigIntConstants.I_0; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertTrue; import java.math.BigInteger; @@ -23,7 +25,6 @@ import org.apache.logging.log4j.LogManager; import de.tilman_neumann.jml.factor.siqs.ModularSqrtsEngine; -import de.tilman_neumann.util.Ensure; import de.tilman_neumann.util.ConfigUtil; /** @@ -72,18 +73,18 @@ public void testBParamComputation() { for (int i=0; i= 0); // we have b^2 == kN (mod a) - Ensure.ensureEquals(I_0, b.multiply(b).subtract(kN).mod(a)); + assertEquals(I_0, b.multiply(b).subtract(kN).mod(a)); } }