tiny.hypothesis.checkNamed
Defined in tiny.hypothesis.
Source
Source: lib/hypothesis/src/testing.zig:76
zig
pub fn checkNamed(comptime Property: type, name: []const u8, settings: Settings) !void { const allocator = std.testing.allocator; const run_settings = applyNamespace(Property, settings, name); var result = try engine_mod.run(allocator, &Property.property, run_settings); defer result.deinit(); if (!result.passed) { if (run_settings.report_failure) { printFailure(&result); } return error.PropertyFailed; }}Source: lib/hypothesis/src/root.zig:57
zig
pub const checkNamed = testing.checkNamed;Audit
| Definitions | 1 |
|---|---|
| Public names | 1 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |