tiny.hypothesis.checkValue
Defined in value.
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
| Definitions | 1 |
|---|---|
| Public names | 2 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |