메소드 | 설명 | |
---|---|---|
__construct ( mixed $value, mixed $margin, string $message = '%s' ) | Sets the value to compare against and the fuzziness of the match. Used for comparing floating point values. | |
test ( mixed $compare ) : boolean | Tests the expectation. True if it matches the held value. | |
testMessage ( mixed $compare ) : string | Returns a human readable test message. |
public testMessage ( mixed $compare ) : string | ||
$compare | mixed | Comparison value. |
리턴 | string | Description of success or failure. |