Module primitive

Source
Expand description

Proptest strategies for most common primitive types

These strategies always return valid values.

Functionsยง

arb_bool
Strategy to generate an arbitrary boolean
arb_bytes
Strategy to generate an arbitrary bytestring
arb_char
Strategy to generate an arbitrary character
arb_complicated
Strategy to generate a complicated data structure
arb_integer
Strategy to generate an arbitrary BigInt
arb_natural
Strategy to generate an arbitrary non-negative BigInt
arb_text
Strategy to generate an arbitrary string