bandwidthThrottle\tokenBucket\util\DoublePackerTest::testPack PHP Method

testPack() public method

Tests pack().
public testPack ( string $expected, double $input )
$expected string The expected string.
$input double The input double.
    public function testPack($expected, $input)
    {
        $this->assertEquals($expected, DoublePacker::pack($input));
    }