Generator<T> typedef

Generator<T> = Shrinkable<T> Function(Random random, int size)

An Generator makes it possible to use Glados to test type T. Generates a new Shrinkable of type T, using size as a rough complexity estimate. The random instance should be used as a source for all pseudo-randomness.

Implementation

typedef Generator<T> = Shrinkable<T> Function(Random random, int size);