From bfa2f4ba012c0d60f86f21429735d6561c8d5264 Mon Sep 17 00:00:00 2001 From: David Rafferty <drafferty@hs.uni-hamburg.de> Date: Wed, 25 Oct 2017 12:24:19 +0200 Subject: [PATCH] Fix test script (issue #8) --- tests/test_lsmtool.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_lsmtool.py b/tests/test_lsmtool.py index cdd8899..1fbbe5f 100644 --- a/tests/test_lsmtool.py +++ b/tests/test_lsmtool.py @@ -70,13 +70,13 @@ def test_move(): def test_merge(): print('Merge patches Patch_0 and Patch_2') s.merge(['Patch_0', 'Patch_2'], name = 'merged_patch') - assert len(s.getPatchNames()) == 102 + assert len(s.getPatchNames()) == 139 def test_setPatchPositions(): print('Set patch positions to midpoint of patch') s.setPatchPositions(method='mid') - assert round(s.getPatchPositions()['merged_patch'][0].value, 4) == 277.7663 + assert round(s.getPatchPositions()['merged_patch'][0].value, 4) == 274.2124 def test_write(): -- GitLab