Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Olivier Stasse
sot-core
Commits
8e84f2de
Unverified
Commit
8e84f2de
authored
Mar 26, 2020
by
Guilhem Saurel
Committed by
GitHub
Mar 26, 2020
Browse files
Merge pull request #133 from olivier-stasse/master
[tests] Split matrix-utils to_tuple test in two.
parents
91ba737b
8a572544
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/python/matrix-util.py
View file @
8e84f2de
...
...
@@ -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
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment