diff options
Diffstat (limited to 'module/ri-engine/src/test/java/io/trygvis')
-rw-r--r-- | module/ri-engine/src/test/java/io/trygvis/rules/network/IpCalcTest.java (renamed from module/ri-engine/src/test/java/io/trygvis/rules/acme/IpCalcTest.java) | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/module/ri-engine/src/test/java/io/trygvis/rules/acme/IpCalcTest.java b/module/ri-engine/src/test/java/io/trygvis/rules/network/IpCalcTest.java index 8b1e2c6..e0642d6 100644 --- a/module/ri-engine/src/test/java/io/trygvis/rules/acme/IpCalcTest.java +++ b/module/ri-engine/src/test/java/io/trygvis/rules/network/IpCalcTest.java @@ -1,17 +1,17 @@ -package io.trygvis.rules.acme; +package io.trygvis.rules.network; -import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; -import static org.junit.jupiter.api.Assertions.*; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertThrows; class IpCalcTest { @Test public void basic() { - Assertions.assertThrows(IllegalArgumentException.class, () -> IpCalc.cidr("192.168.1.1/24").addresses()); + assertThrows(IllegalArgumentException.class, () -> IpCalc.cidr("192.168.1.1/24").addresses()); assertEquals(256, IpCalc.cidr("192.168.1.0/24").addresses().size()); assertEquals(128, IpCalc.cidr("192.168.1.128/25").addresses().size()); } |