Skip to content

Commit

Permalink
#16 Removed pytest warning
Browse files Browse the repository at this point in the history
  • Loading branch information
carljohnsen committed Feb 9, 2023
1 parent 8bd4367 commit e93880b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/test_morphology.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ def test_morphology(r, m, op, nd):

assert np.allclose(verification, result)

return fend - fsta, (vend - vsta) / (fend - fsta)
print (f'Testing the {m.__name__} implementation of {op}. Ran in {fend - fsta}, which is {(vend - vsta) / (fend - fsta)} times better than ndi')

if __name__ == '__main__':
# TDOO move the data generation and ndi verification out to speed up running
for r in rs:
for m in impls:
for op, nd in funcs:
print (f'Testing the {m.__name__} implementation of {op}', test_morphology(r, m, op, nd))
test_morphology(r, m, op, nd)

0 comments on commit e93880b

Please sign in to comment.