From 4d408aeb7d5fe5bd66c5c9f6bab0f07ffe390152 Mon Sep 17 00:00:00 2001
From: lukas leufen <l.leufen@fz-juelich.de>
Date: Tue, 17 Mar 2020 10:49:37 +0100
Subject: [PATCH] corrected test

---
 test/test_data_handling/test_bootstraps.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/test_data_handling/test_bootstraps.py b/test/test_data_handling/test_bootstraps.py
index 9dd23893..68789ff6 100644
--- a/test/test_data_handling/test_bootstraps.py
+++ b/test/test_data_handling/test_bootstraps.py
@@ -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):
-- 
GitLab