Skip to content
Snippets Groups Projects
Commit 4d408aeb authored by lukas leufen's avatar lukas leufen
Browse files

corrected test

parent 52ee7e31
No related branches found
No related tags found
3 merge requests!90WIP: new release update,!89Resolve "release branch / CI on gpu",!77Resolve "Upsample "extremes" in standardised data space"
Pipeline #32147 passed
......@@ -56,8 +56,8 @@ class TestBootstraps:
data = np.array([[1, 2, 3], [1, 2, 3], [1, 2, 3], [1, 2, 3]])
res = boot_no_init.shuffle_single_variable(data, chunks=(2, 3)).compute()
assert res.shape == data.shape
assert res.max() == data.max()
assert res.min() == data.min()
assert res.max() <= data.max()
assert res.min() >= data.min()
assert set(np.unique(res)).issubset({1, 2, 3})
def test_create_shuffled_data(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment