improved logging
All checks were successful
CI / build (push) Successful in 2m13s

This commit is contained in:
2025-12-30 21:53:23 +08:00
parent 5854a632f8
commit 3130a809e5
3 changed files with 27 additions and 3 deletions

View File

@@ -0,0 +1,17 @@
package net.woggioni.rbcs.common
import java.net.InetAddress
import org.junit.jupiter.api.Assertions
import org.junit.jupiter.api.Test
class CidrTest {
class CidrTest {
@Test
fun test() {
val cidr = Cidr.from("2a02:4780:12:368b::1/128")
Assertions.assertTrue {
cidr.contains(InetAddress.ofLiteral("2a02:4780:12:368b::1"))
}
}
}
}