Skip to content
Snippets Groups Projects
Commit 8b195cd3 authored by Stefan Reck's avatar Stefan Reck
Browse files

test_postproc: order changed

parent 6a16ea6f
No related branches found
No related tags found
No related merge requests found
...@@ -68,8 +68,8 @@ class TestShuffleV2(TestCase): ...@@ -68,8 +68,8 @@ class TestShuffleV2(TestCase):
def test_seed_produces_this_shuffled_order(self): def test_seed_produces_this_shuffled_order(self):
target_order = np.array( target_order = np.array(
[5., 6., 20., 8., 13., 14., 10., 11., 7., 21., 9., 12., 19., [12., 5., 0., 20., 6., 2., 19., 13., 1., 9., 8., 4., 3.,
2., 0., 16., 18., 15., 3., 17., 1., 4.]) 11., 16., 15., 7., 10., 17., 14., 21., 18.])
with h5py.File(self.temp_output, "r") as f: with h5py.File(self.temp_output, "r") as f:
np.testing.assert_array_equal( np.testing.assert_array_equal(
f["x"][:, 0], target_order f["x"][:, 0], target_order
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment