Skip to content

Commit

Permalink
fix: module typing
Browse files Browse the repository at this point in the history
  • Loading branch information
engnadeau committed Aug 23, 2022
1 parent 85b997f commit 8f652bf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/test_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ def test_tool() -> None:
"""Test."""
tool = Tool()

cg = [1, 2, 3]
cg = np.array([1, 2, 3])
tool.cg = cg
np.testing.assert_allclose(tool.cg, cg)
np.testing.assert_allclose(tool.cg, cg) # type: ignore

p = [1, 2, 3]
p = np.array([1, 2, 3])
tool.position = p
np.testing.assert_allclose(tool.position, p)
np.testing.assert_allclose(tool.vector, matrix_2_vector(tool.matrix))
np.testing.assert_allclose(tool.position, p) # type: ignore
np.testing.assert_allclose(tool.vector, matrix_2_vector(tool.matrix)) # type: ignore

0 comments on commit 8f652bf

Please sign in to comment.