Testing#
|
Like |
|
Like |
|
Like |
Assert that chunksizes along chunked dimensions are equal. |
Test that two DataTree objects are similar.
Assert that two DataTrees are isomorphic. |
|
|
Like |
|
Like |
Hypothesis Testing Strategies#
See the documentation page on testing for a guide on how to use these strategies.
Warning
These strategies should be considered highly experimental, and liable to change at any time.
Generate only those numpy dtypes which xarray can handle. |
|
Generate arbitrary string names for dimensions / variables. |
|
|
Generate an arbitrary list of valid dimension names. |
|
Generate an arbitrary mapping from dimension names to lengths. |
Generate arbitrary valid attributes dictionaries for xarray objects. |
|
|
Generate arbitrary xarray.Variable objects. |
|
Return a strategy which generates a unique subset of the given objects. |