scipp.testing.strategies#

Search strategies for hypothesis to generate inputs for tests.

Functions

coord_dicts(*, coords, sizes[, args])

rtype

SearchStrategy[dict]

dataarrays([data_args, coords, coord_args])

rtype

SearchStrategy[SearchStrategy]

dims()

rtype

SearchStrategy

floating_dtypes([sizes])

rtype

SearchStrategy

integer_dtypes([sizes])

rtype

SearchStrategy

n_variables(n, *[, ndim, sizes, unit, ...])

rtype

SearchStrategy

scalar_numeric_dtypes()

rtype

SearchStrategy

sizes_dicts([ndim])

rtype

SearchStrategy

units()

rtype

SearchStrategy

variables(*[, ndim, sizes, unit, dtype, ...])

rtype

SearchStrategy