1 | <?php |
||
7 | class RealWorldTest extends \PHPUnit_Framework_TestCase |
||
8 | { |
||
9 | private $json_data; |
||
10 | |||
11 | protected function setUp() |
||
16 | |||
17 | public function testConsolidateSubnets() |
||
24 | |||
25 | public function testConsolidateSubnetsVerbose() |
||
26 | { |
||
27 | $this->assertEquals( |
||
28 | [ |
||
29 | 'consolidated_subnets' => $this->json_data['consolidated_subnets'], |
||
30 | 'initial_IPs' => $this->json_data['raw_ips'], |
||
31 | 'total_IPs' => $this->json_data['raw_ips'], |
||
32 | ], |
||
33 | SubMuncher::consolidate_subnets_verbose($this->json_data['subnets']) |
||
34 | ); |
||
35 | } |
||
36 | |||
37 | public function testConsolidateSubnetsVerboseWithMaxRules() |
||
51 | } |
||
52 |