Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update expectaitons

  • Loading branch information...
commit 6c9bf44068e1f6b5dd3afe7455e8cd70102b675a 1 parent 92692d3
Daniel O'Connor CloCkWeRX authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 tests/IPv4Test.php
6 tests/IPv4Test.php
View
@@ -11,9 +11,9 @@ class IPv4Test extends PHPUnit_Framework_TestCase {
protected function setUp() {
$this->net = new Net_IPv4();
$this->expected = new MyIPv4();
- $this->quadIPs = array('10.0.0.15' => 167772175, '172.16.0.155' => 2886729883,
- '192.168.0.255' => 3232235775, '1.2.3.4' => 16909060, '1.0.0.0' => 16777216,
- '255.255.255.255' => 4294967295, '127.0.0.1' => 2130706433);
+ $this->quadIPs = array('10.0.0.15' => 167772175.0, '172.16.0.155' => 2886729883.0,
+ '192.168.0.255' => 3232235775.0, '1.2.3.4' => 16909060.0, '1.0.0.0' => 16777216.0,
+ '255.255.255.255' => 4294967295.0, '127.0.0.1' => 2130706433.0);
$this->hexIPs = array('0a00000f', 'ac10009b', 'c0a800ff', '01020304',
'01000000', 'ffffffff', '7f000001');
}
Please sign in to comment.
Something went wrong with that request. Please try again.