scipp.testing.strategies
Search strategies for hypothesis to generate inputs for tests.
Functions
coord_dicts (*, sizes[, args, bin_edges])
|
- rtype:
SearchStrategy [dict [str , Variable ]]
|
dataarrays (*[, data_args, coords, ...])
|
Generate data arrays with coords and masks. |
dims ()
|
- rtype:
SearchStrategy
|
floating_dtypes ([sizes])
|
- rtype:
SearchStrategy
|
integer_dtypes ([sizes])
|
- rtype:
SearchStrategy
|
n_variables (n, *[, ndim, sizes, unit, ...])
|
- rtype:
SearchStrategy [tuple [Variable ]]
|
scalar_numeric_dtypes ()
|
- rtype:
SearchStrategy
|
sizes_dicts ([ndim])
|
- rtype:
SearchStrategy
|
units ()
|
- rtype:
SearchStrategy
|
variables (*[, ndim, sizes, unit, dtype, ...])
|
- rtype:
SearchStrategy [Variable ]
|