Skip to content

Commit

Permalink
Updates unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
matsduf committed Jul 11, 2024
1 parent 9e84704 commit 4023164
Show file tree
Hide file tree
Showing 2 changed files with 341 additions and 316 deletions.
602 changes: 325 additions & 277 deletions t/methodsv2.data

Large diffs are not rendered by default.

55 changes: 16 additions & 39 deletions t/methodsv2.t
Original file line number Diff line number Diff line change
Expand Up @@ -339,36 +339,25 @@ my %subtests = (
ns2.child.parent.no-del-mixed-undel-1.methodsv2.xa/fda1:b2:c3:0:127:40:1:52 ) ],
],
'NO-CHILD-1' => [
1,
0,
q(child.parent.no-child-1.methodsv2.xa),
[ qw( 127.40.1.41
fda1:b2:c3:0:127:40:1:41
127.40.1.42
fda1:b2:c3:0:127:40:1:42 ) ],
[ ], # Empty
[ ], # Empty
[ ], # Empty
[ ],
],
'NO-CHILD-2' => [
1,
0,
q(child.parent.no-child-2.methodsv2.xa),
[ qw( 127.40.1.41
fda1:b2:c3:0:127:40:1:41
127.40.1.42
fda1:b2:c3:0:127:40:1:42 ) ],
[ ], # Empty
[ ], # Empty
[ ], # Empty
[ ],
],
'NO-CHLD-PAR-UNDETER-1' => [
0,
q(child.parent.no-chld-par-undeter-1.methodsv2.xa),
[ qw( 127.40.1.31
fda1:b2:c3:0:127:40:1:31
127.40.1.41
fda1:b2:c3:0:127:40:1:41
127.40.1.42
fda1:b2:c3:0:127:40:1:42 ) ],
[ ], # Empty
[ ], # Empty
[ ], # Empty
[ ],
Expand All @@ -393,12 +382,10 @@ my %subtests = (
[],
],
'CHLD-FOUND-INCONSIST-1' => [
1,
0,
q(child.parent.chld-found-inconsist-1.methodsv2.xa),
[ qw( 127.40.1.41
fda1:b2:c3:0:127:40:1:41
127.40.1.42
fda1:b2:c3:0:127:40:1:42 ) ],
fda1:b2:c3:0:127:40:1:41 ) ],
[ qw( ns1.child.parent.chld-found-inconsist-1.methodsv2.xa/127.40.1.51
ns1.child.parent.chld-found-inconsist-1.methodsv2.xa/fda1:b2:c3:0:127:40:1:51
ns2.child.parent.chld-found-inconsist-1.methodsv2.xa/127.40.1.52
Expand All @@ -410,12 +397,10 @@ my %subtests = (
[],
],
'CHLD-FOUND-INCONSIST-2' => [
1,
0,
q(child.parent.chld-found-inconsist-2.methodsv2.xa),
[ qw( 127.40.1.41
fda1:b2:c3:0:127:40:1:41
127.40.1.42
fda1:b2:c3:0:127:40:1:42 ) ],
fda1:b2:c3:0:127:40:1:41 ) ],
[ qw( ns1.child.parent.chld-found-inconsist-2.methodsv2.xa/127.40.1.51
ns1.child.parent.chld-found-inconsist-2.methodsv2.xa/fda1:b2:c3:0:127:40:1:51
ns2.child.parent.chld-found-inconsist-2.methodsv2.xa/127.40.1.52
Expand All @@ -427,12 +412,10 @@ my %subtests = (
[ ],
],
'CHLD-FOUND-INCONSIST-3' => [
1,
0,
q(child.parent.chld-found-inconsist-3.methodsv2.xa),
[ qw( 127.40.1.41
fda1:b2:c3:0:127:40:1:41
127.40.1.42
fda1:b2:c3:0:127:40:1:42 ) ],
fda1:b2:c3:0:127:40:1:41 ) ],
[ qw( ns1.child.parent.chld-found-inconsist-3.methodsv2.xa/127.40.1.51
ns1.child.parent.chld-found-inconsist-3.methodsv2.xa/fda1:b2:c3:0:127:40:1:51
ns2.child.parent.chld-found-inconsist-3.methodsv2.xa/127.40.1.52
Expand All @@ -444,12 +427,10 @@ my %subtests = (
[ ],
],
'CHLD-FOUND-INCONSIST-4' => [
1,
0,
q(child.parent.chld-found-inconsist-4.methodsv2.xa),
[ qw( 127.40.1.41
fda1:b2:c3:0:127:40:1:41
127.40.1.42
fda1:b2:c3:0:127:40:1:42 ) ],
fda1:b2:c3:0:127:40:1:41 ) ],
[ qw( ns1.child.parent.chld-found-inconsist-4.methodsv2.xa/127.40.1.51
ns1.child.parent.chld-found-inconsist-4.methodsv2.xa/fda1:b2:c3:0:127:40:1:51
ns2.child.parent.chld-found-inconsist-4.methodsv2.xa/127.40.1.52
Expand All @@ -461,12 +442,10 @@ my %subtests = (
[ ],
],
'CHLD-FOUND-INCONSIST-5' => [
1,
0,
q(child.parent.chld-found-inconsist-5.methodsv2.xa),
[ qw( 127.40.1.41
fda1:b2:c3:0:127:40:1:41
127.40.1.42
fda1:b2:c3:0:127:40:1:42 ) ],
fda1:b2:c3:0:127:40:1:41 ) ],
[ qw( ns1.child.parent.chld-found-inconsist-5.methodsv2.xa/127.40.1.51
ns1.child.parent.chld-found-inconsist-5.methodsv2.xa/fda1:b2:c3:0:127:40:1:51
ns2.child.parent.chld-found-inconsist-5.methodsv2.xa/127.40.1.52
Expand All @@ -481,9 +460,7 @@ my %subtests = (
0,
q(child.parent.chld-found-inconsist-6.methodsv2.xa),
[ qw( 127.40.1.41
fda1:b2:c3:0:127:40:1:41
127.40.1.42
fda1:b2:c3:0:127:40:1:42 ) ],
fda1:b2:c3:0:127:40:1:41 ) ],
[ qw( ns1.child.parent.chld-found-inconsist-6.methodsv2.xa/127.40.1.51
ns1.child.parent.chld-found-inconsist-6.methodsv2.xa/fda1:b2:c3:0:127:40:1:51
ns2.child.parent.chld-found-inconsist-6.methodsv2.xa/127.40.1.52
Expand Down

0 comments on commit 4023164

Please sign in to comment.