dcheck ~master (2021-12-16T12:53:05.2981281)
Dub
Repo
DefaultShrink
dcheck
arbitrary
You can use this to define default shrink implementation.
mixin template
DefaultShrink (
T
) {
import
std
.
range
;
;
auto
shrink
(T val);
}
Members
Functions
shrink
auto
shrink
(T val)
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
dcheck
arbitrary
manifest constants
ArrayGenSizeMax
ArrayGenSizeMin
mixin templates
DefaultShrink
DefaultShrinkAndSpecialCases
DefaultSpecialCases
templates
Arbitrary
CheckArbitrary
HasArbitrary
You can use this to define default shrink implementation.