Skip to content

ShrinkTried ​

Rasuvaeff\PropertyTesting\Event\ShrinkTried

Class — Package: property-testing-core — Source — Version: v1.0.0-1-g88fdee2

Implements: Event\PropertyEvent

One shrink trial executed the body with a smaller candidate for a single parameter (or draw#N tape position).

Constructor ​

php
__construct(
    string $propertyId,
    string $parameter,
    mixed $candidate,
    bool $accepted,
)
ParameterTypeDefaultDescription
$propertyIdstringrequired
$parameterstringrequired
$candidatemixedrequired
$acceptedboolrequired