Expand description

Mock RNG for testing.

Structs

Mock RNG, containing invocation state and delegate closures.

Mock invocation state.

Encapsulates the state of the mock and a reference to the next_u128 delegate, so that it can be invoked from inside the mock by, for example, another delegate.

Functions

A pre-canned delegate that counts in the given range, wrapping around when it reaches the end.

A pre-canned delegate that parrots the value in the given cell.

A pre-canned delegate that always parrots a given value.