ptest library

Extensions

RandomExtensions on Random

Functions

pTest<T>(String description, {int? runCount, Predicate<T>? skipIf, required Generator<T> generateInput, required Body<T> body}) → void

Typedefs

Body<T> = FutureOr<void> Function(T input)
Generator<T> = T Function(Random random)
Predicate<T> = bool Function(T input)