diff options
-rw-r--r-- | Tests/Net/OpenID/CryptUtil.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Tests/Net/OpenID/CryptUtil.php b/Tests/Net/OpenID/CryptUtil.php index 346ecd8..99f6939 100644 --- a/Tests/Net/OpenID/CryptUtil.php +++ b/Tests/Net/OpenID/CryptUtil.php @@ -55,12 +55,9 @@ class Tests_Net_OpenID_ByteOps extends PHPUnit_TestCase { $a = Net_OpenID_CryptUtil::randrange($lib->pow(2, 128)); $b = Net_OpenID_CryptUtil::randrange($lib->pow(2, 128)); - // If $a is a float, it's because we're using fallback number - // storage (PHP stores overflowed ints as floats). $this->assertFalse($lib->cmp($b, $a) == 0, "Same: $a $b"); $n = $lib->init(Net_OpenID_CryptUtil::maxint()); - $one = $lib->init(1); $n = $lib->add($n, 1); // Make sure that we can generate random numbers that are |