summaryrefslogtreecommitdiffstats
path: root/core/src/test/java/org/onap/aaf/cadi/util/JU_NetMask.java
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/test/java/org/onap/aaf/cadi/util/JU_NetMask.java')
-rw-r--r--core/src/test/java/org/onap/aaf/cadi/util/JU_NetMask.java24
1 files changed, 24 insertions, 0 deletions
diff --git a/core/src/test/java/org/onap/aaf/cadi/util/JU_NetMask.java b/core/src/test/java/org/onap/aaf/cadi/util/JU_NetMask.java
index 14eab47..afed731 100644
--- a/core/src/test/java/org/onap/aaf/cadi/util/JU_NetMask.java
+++ b/core/src/test/java/org/onap/aaf/cadi/util/JU_NetMask.java
@@ -38,4 +38,28 @@ public class JU_NetMask {
String test = "1.2.3.4";
assertEquals(NetMask.derive(test.getBytes()), 0);
}
+
+ @Test
+ public void deriveTest3() {
+ String test = "1.2.4";
+ assertEquals(NetMask.derive(test.getBytes()), 0);
+ }
+
+ @Test
+ public void deriveTest4() {
+ String test = "1.3.4";
+ assertEquals(NetMask.derive(test.getBytes()), 0);
+ }
+
+ @Test
+ public void deriveTest5() {
+ String test = "2.3.4";
+ assertEquals(NetMask.derive(test.getBytes()), 0);
+ }
+
+ @Test
+ public void deriveTest6() {
+ String test = "3.4";
+ assertEquals(NetMask.derive(test.getBytes()), 0);
+ }
}