메소드 | 설명 | |
---|---|---|
__construct ( array $generators, callable $assertion ) | ||
addGoodShrinkCondition ( callable $condition ) | ||
from ( |
Precondition: $values should fail $this->assertion | |
onAttempt ( callable $listener ) | ||
setTimeLimit ( Eris\Shrinker\TimeLimit $timeLimit ) |
메소드 | 설명 | |
---|---|---|
checkGoodShrinkConditions ( |
public __construct ( array $generators, callable $assertion ) | ||
$generators | array | |
$assertion | callable |
public addGoodShrinkCondition ( callable $condition ) | ||
$condition | callable |
public from ( |
||
$elements | ||
$exception | PHPUnit_Framework_AssertionFailedError |
public setTimeLimit ( Eris\Shrinker\TimeLimit $timeLimit ) | ||
$timeLimit | Eris\Shrinker\TimeLimit |