formatting
parent
fbdef91c54
commit
9f661c01cf
|
@ -19,7 +19,6 @@ from gtsam.utils.test_case import GtsamTestCase
|
||||||
|
|
||||||
class TestPose2(GtsamTestCase):
|
class TestPose2(GtsamTestCase):
|
||||||
"""Test selected Pose2 methods."""
|
"""Test selected Pose2 methods."""
|
||||||
|
|
||||||
def test_adjoint(self) -> None:
|
def test_adjoint(self) -> None:
|
||||||
"""Test adjoint method."""
|
"""Test adjoint method."""
|
||||||
xi = np.array([1, 2, 3])
|
xi = np.array([1, 2, 3])
|
||||||
|
@ -42,18 +41,17 @@ class TestPose2(GtsamTestCase):
|
||||||
| | |
|
| | |
|
||||||
O---O
|
O---O
|
||||||
"""
|
"""
|
||||||
# fmt: off
|
|
||||||
pts_a = [
|
pts_a = [
|
||||||
Point2(3, 1),
|
Point2(3, 1),
|
||||||
Point2(1, 1),
|
Point2(1, 1),
|
||||||
Point2(1, 3),
|
Point2(1, 3),
|
||||||
Point2(3, 3)
|
Point2(3, 3),
|
||||||
]
|
]
|
||||||
pts_b = [
|
pts_b = [
|
||||||
Point2(1, -3),
|
Point2(1, -3),
|
||||||
Point2(1, -5),
|
Point2(1, -5),
|
||||||
Point2(-1, -5),
|
Point2(-1, -5),
|
||||||
Point2(-1, -3)
|
Point2(-1, -3),
|
||||||
]
|
]
|
||||||
|
|
||||||
# fmt: on
|
# fmt: on
|
||||||
|
|
Loading…
Reference in New Issue