Skip to content

Commit

Permalink
Improve tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Maikuolan committed Aug 3, 2023
1 parent 3c7d6d5 commit 9bdbf65
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions tests.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
1:2:3:4::2
1:2:3:4::3
2002::1
ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
127.0.0.4
127.0.0.5
257.0.0.999 Some arbitrary INVALID single IPs from here
Expand Down Expand Up @@ -80,7 +81,8 @@
127.0.0.4/31
1::/127
1:2:3:4::/126
2002::1/128';
2002::1/128
ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff/128';

$Aggregator = new \CIDRAM\Aggregator\Aggregator();
$Aggregator->Results = true;
Expand All @@ -102,9 +104,10 @@
127.0.0.1/255.255.255.255
127.0.0.2/255.255.255.254
127.0.0.4/255.255.255.254
1::/ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe:0
1:2:3:4::/ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc:0
2002::1/ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff:0';
1::/ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe
1:2:3:4::/ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc
2002::1/ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff/ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff';

$Aggregator = new \CIDRAM\Aggregator\Aggregator(1);
$Aggregator->Results = true;
Expand Down

0 comments on commit 9bdbf65

Please sign in to comment.