Testing module

assume

procedure · 1 overloadsince 0.30.0Source

Checks the arguments of a property: skips the trial, without failing it, when condition does not hold. A property that returns a value writes if !condition return true;.

assume :: (condition: bool)

Checks the arguments of a property: skips the trial, without failing it, when condition does not hold. A property that returns a value writes if !condition return true;.

Parameters

condition: bool
the trial is skipped when this is false.

See also