Commit 8a572544 authored by Olivier Stasse's avatar Olivier Stasse
Browse files

[tests] Split matrix-utils to_tuple test in two.

parent 91ba737b
......@@ -10,6 +10,9 @@ class MatrixUtilTest(unittest.TestCase):
def test_matrix_to_tuple(self):
mat = ((1, 2), (3, 4))
self.assertEqual(mat, mod.matrixToTuple(np.matrix(mat)))
def test_array_to_tuple(self):
mat = ((1, 2), (3, 4))
self.assertEqual(mat, mod.matrixToTuple(np.array(mat)))
def test_vector_to_tuple(self):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment