Skip to documentation
SLOP

tiny.hypothesis.forAll

Reference tiny.hypothesis forAll

Defined in tiny.hypothesis.

Called byCallstest sourcelib.hypothesis.src.testingtest: forAll: boolean identitytest sourcelib.hypothesis.src.testingtest: forAll: commutative additiontest sourcelib.hypothesis.src.testingtest: forAll: custom max examplesprivate sourcelib.hypothesis.src.testingForAllTestTypeprivate sourcelib.hypothesis.src.testingapplyNamespaceprivate sourcelib.hypothesis.src.testingprintFailuretiny.hypothesisforAll
Static calls · unresolved targets: 1 · external targets: 1.

Source

Source: lib/hypothesis/src/testing.zig:91

zig
pub fn forAll(    comptime Property: type,    comptime strats: anytype,    settings: Settings,) !void {    const allocator = std.testing.allocator;    const run_settings = applyNamespace(Property, settings, null);    var result = try engine_mod.run(        allocator,        &ForAllTestType(Property, strats).testFn,        run_settings,    );    defer result.deinit();    if (!result.passed) {        if (run_settings.report_failure) {            printFailure(&result);        }        return error.PropertyFailed;    }}

Source: lib/hypothesis/src/root.zig:58

zig
pub const forAll = testing.forAll;

Audit

Definitions1
Public names1
Members0
Version26.7.0
Revisiondaab053ee433