PHP Class QCheck\Quick

Show file Open project: steos/php-quickcheck Class Usage Examples

Public Methods

Method Description
check ( $n, Generator $prop, array $opts = [] )
complete ( Generator $prop, $n, $seed )
failure ( Generator $prop, RoseTree $tree, $n, $size, $seed )
shrinkLoop ( RoseTree $tree )
smallestShrink ( $visited, $depth, $smallest )

Method Details

check() public static method

public static check ( $n, Generator $prop, array $opts = [] )
$prop Generator
$opts array

complete() public static method

public static complete ( Generator $prop, $n, $seed )
$prop Generator

failure() public static method

public static failure ( Generator $prop, RoseTree $tree, $n, $size, $seed )
$prop Generator
$tree RoseTree

shrinkLoop() public static method

public static shrinkLoop ( RoseTree $tree )
$tree RoseTree

smallestShrink() public static method

public static smallestShrink ( $visited, $depth, $smallest )