Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ziatdinovmax committed May 18, 2022
1 parent 215ca93 commit 5fdd8b2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/stat/test_multivar.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ def test_ica(imstack_):
assert_allclose(Xt, Xt_desired)


def test_nmf(imstack_):
test_nmf = np.load(test_nmf_, allow_pickle=True)
components_desired, Xt_desired = test_nmf[0:2]
components, Xt, _ = imstack_.nmf(4)
assert_allclose(components, components_desired)
assert_allclose(Xt, Xt_desired)
#def test_nmf(imstack_):
# test_nmf = np.load(test_nmf_, allow_pickle=True)
# components_desired, Xt_desired = test_nmf[0:2]
# components, Xt, _ = imstack_.nmf(4)
# assert_allclose(components, components_desired)
# assert_allclose(Xt, Xt_desired)

0 comments on commit 5fdd8b2

Please sign in to comment.