Метод | Описание | |
---|---|---|
provideTestPack ( ) : array | Provides test cases for testPack(). | |
provideTestUnpack ( ) : array | Provides test cases for testConvert(). | |
provideTestUnpackFails ( ) : array | Provides test cases for testUnpackFails(). | |
testPack ( string $expected, double $input ) | Tests pack(). | |
testUnpack ( double $expected, string $input ) | Tests unpack(). | |
testUnpackFails ( string $input ) | Tests unpack() fails. |
public provideTestPack ( ) : array | ||
Результат | array | Test cases. |
public provideTestUnpack ( ) : array | ||
Результат | array | Test cases. |
public provideTestUnpackFails ( ) : array | ||
Результат | array | Test cases. |
public testUnpack ( double $expected, string $input ) | ||
$expected | double | The expected double. |
$input | string | The input string. |
public testUnpackFails ( string $input ) | ||
$input | string | The input string. |