We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f3745f commit ab44e4cCopy full SHA for ab44e4c
src/test/java/de/tilman_neumann/jml/factor/FactorSieveDemo.java
@@ -13,13 +13,14 @@
13
*/
14
package de.tilman_neumann.jml.factor;
15
16
+import static org.junit.Assert.assertEquals;
17
+
18
import java.math.BigInteger;
19
20
import org.apache.logging.log4j.LogManager;
21
import org.apache.logging.log4j.Logger;
22
23
import de.tilman_neumann.util.ConfigUtil;
-import de.tilman_neumann.util.Ensure;
24
import de.tilman_neumann.util.SortedMultiset;
25
26
public class FactorSieveDemo {
@@ -41,7 +42,7 @@ public static void main(String[] args) {
41
42
LOG.info(n + " = " + factors);
43
if (n>1) {
44
long test = FactorSieve.computeProduct(factors);
- Ensure.ensureEquals(n, test);
45
+ assertEquals(n, test);
46
}
47
48
0 commit comments