Skip to documentation
SLOP

tiny.hypothesis.checkValue

Reference tiny.hypothesis checkValue

Defined in value.

Called byCallsNo direct callersenginerunprivate sourcelib.hypothesis.src.valueCheckValuePropertyTypevalueGeneratorvaluecheckValue
Static calls · unresolved targets: 1 · external targets: 2.

Source

Source: lib/hypothesis/src/value.zig:418

zig
pub fn checkValue(    comptime T: type,    comptime gen: Generator(T),    comptime property: *const fn (T) anyerror!void,    config: Config,    allocator: std.mem.Allocator,) !void {    const Property = CheckValuePropertyType(T, gen, property);    var settings = config.toSettings();    if (settings.database_namespace == null) {        settings.database_namespace = @typeName(Property);    }    var result = try engine.run(allocator, &Property.run, settings);    defer result.deinit();    if (!result.passed) {        if (settings.report_failure) @import("testing.zig").printFailure(&result);        return result.failing_error orelse error.PropertyFailed;    }}

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

zig
pub const checkValue = value.checkValue;

Audit

Definitions1
Public names2
Members0
Version26.7.0
Revisiondaab053ee433