Mercurial > hg > tvii
diff tests/test_dot.py @ 7:bb8b6b06ca83
dot product
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Thu, 31 Aug 2017 08:50:36 -0700 |
parents | 382ab19fb052 |
children |
line wrap: on
line diff
--- a/tests/test_dot.py Wed Aug 30 20:44:48 2017 -0700 +++ b/tests/test_dot.py Thu Aug 31 08:50:36 2017 -0700 @@ -5,13 +5,16 @@ """ import unittest - +from tvii.dot import dot class TestDot(unittest.TestCase): def test_simple(self): """simple dot product test""" - # TODO + + a = [1, 2, 3] + b = [4, 5, 6] + expected = 32 if __name__ == '__main__': unittest.main()