Skip to content

Commit

Permalink
Matrix3_TEST.py: add stream out test
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Peters <[email protected]>
  • Loading branch information
scpeters committed Sep 16, 2021
1 parent c541db4 commit bb6b120
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/python/Matrix3_TEST.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,11 @@ def test_mul(self):
1344, 1650, 1956,
2064, 2550, 3036))

def test_stream_out(self):
matrix = Matrix3d(1, 2, 3, 4, 5, 6, 7, 8, 9)

self.assertEqual(str(matA), "1 2 3 4 5 6 7 8 9")

def test_vector3_mul(self):
matrix = Matrix3d(1, 2, 3, 4, 5, 6, 7, 8, 9)

Expand Down

0 comments on commit bb6b120

Please sign in to comment.