diff --git a/pyfeeds/tests/test_evaluate.py b/pyfeeds/tests/test_evaluate.py index c016e787f1be52fc113e7a6d095b90031be2f691..4c9b4a0b82c1c52fcc0ef77b4439f8b29e61aa8a 100644 --- a/pyfeeds/tests/test_evaluate.py +++ b/pyfeeds/tests/test_evaluate.py @@ -76,9 +76,9 @@ def test_evalVectorImage(): nib.Nifti1Image(vecarr1, np.eye(4)).to_filename(fname1) nib.Nifti1Image(vecarr2, np.eye(4)).to_filename(fname2) - assert evaluate.evalVectorImage(pyf, fname1, fname1) == 0 - assert evaluate.evalVectorImage(pyf, fname2, fname2) == 0 - assert evaluate.evalVectorImage(pyf, fname1, fname2) != 0 + assert evaluate.evalVectorImage(fname1, fname1, pyf=pyf) == 0 + assert evaluate.evalVectorImage(fname2, fname2, pyf=pyf) == 0 + assert evaluate.evalVectorImage(fname1, fname2, pyf=pyf) != 0 def test_evalImage(): @@ -95,6 +95,6 @@ def test_evalImage(): nib.Nifti1Image(arr1, np.eye(4)).to_filename(fname1) nib.Nifti1Image(arr2, np.eye(4)).to_filename(fname2) - assert evaluate.evalImage(pyf, fname1, fname1) == 0 - assert evaluate.evalImage(pyf, fname2, fname2) == 0 - assert evaluate.evalImage(pyf, fname1, fname2) != 0 + assert evaluate.evalImage(fname1, fname1, pyf=pyf) == 0 + assert evaluate.evalImage(fname2, fname2, pyf=pyf) == 0 + assert evaluate.evalImage(fname1, fname2, pyf=pyf) != 0