tiny.hypothesis.auto
Defined in autoderive.
Source
Source: lib/hypothesis/src/auto.zig:29
zig
pub fn auto(comptime T: type) Strategy(T) { const Helper = struct { const inst: AutoStrategy(T) = .{}; }; return Strategy(T).from(AutoStrategy(T), &Helper.inst);}Source: lib/hypothesis/src/root.zig:42
zig
pub const auto = autoderive.auto;Complete caller list
9 direct callers.
lib.hypothesis.src.auto.test_auto_bool_draws_both_values[function] — test source atlib/hypothesis/src/auto.zig:118in nearest public ownertiny.hypothesis.autoderivelib.hypothesis.src.auto.test_auto_enum_picks_every_variant[function] — test source atlib/hypothesis/src/auto.zig:172in nearest public ownertiny.hypothesis.autoderivelib.hypothesis.src.auto.test_auto_f64_draws_in_default_range[function] — test source atlib/hypothesis/src/auto.zig:159in nearest public ownertiny.hypothesis.autoderivelib.hypothesis.src.auto.test_auto_i32_draws_in_signed_range[function] — test source atlib/hypothesis/src/auto.zig:145in nearest public ownertiny.hypothesis.autoderivelib.hypothesis.src.auto.test_auto_optional_yields_both_null_and_present[function] — test source atlib/hypothesis/src/auto.zig:206in nearest public ownertiny.hypothesis.autoderivelib.hypothesis.src.auto.test_auto_slice_yields_varied_lengths_within_default_bound[function] — test source atlib/hypothesis/src/auto.zig:247in nearest public ownertiny.hypothesis.autoderivelib.hypothesis.src.auto.test_auto_struct_draws_every_field[function] — test source atlib/hypothesis/src/auto.zig:194in nearest public ownertiny.hypothesis.autoderivelib.hypothesis.src.auto.test_auto_tagged_union_picks_every_variant[function] — test source atlib/hypothesis/src/auto.zig:227in nearest public ownertiny.hypothesis.autoderivelib.hypothesis.src.auto.test_auto_u8_draws_in_full_range[function] — test source atlib/hypothesis/src/auto.zig:133in nearest public ownertiny.hypothesis.autoderive
Audit
| Definitions | 1 |
|---|---|
| Public names | 2 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |