unit-threaded v0.8.0 (2019-01-30T14:17:49Z)
Home
Dub
Repo
check
unit_threaded
property
Check that bool-returning F is true with randomly generated values.
@
trusted
void
check
(
alias
F
int
numFuncCalls
= 100
)
(
in
uint
seed
=
from
!"std.random".
unpredictableSeed
,
in
string
file
= __FILE__
,
in
size_t
line
= __LINE__
)
Meta
Source
See Implementation
unit_threaded
property
classes
PropertyException
functions
check
checkCustom
shrink
Check that bool-returning F is true with randomly generated values.