Mercurial > hg > tvii
diff tests/test_sigmoid.py @ 19:cd43ce453358
[numpy] of course we have to cast everything here too
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sun, 03 Sep 2017 20:46:26 -0700 |
parents | e92fc4a17336 |
children | d6d2ecb33c95 |
line wrap: on
line diff
--- a/tests/test_sigmoid.py Sun Sep 03 19:40:29 2017 -0700 +++ b/tests/test_sigmoid.py Sun Sep 03 20:46:26 2017 -0700 @@ -15,8 +15,7 @@ """test two points of the sigmoid function""" answer = sigmoid([0,2]) - assert len(answer(2)) - + assert len(answer) == 2 if __name__ == '__main__': unittest.main()