Skip to content
This repository was archived by the owner on Aug 15, 2019. It is now read-only.

Commit 7f39f10

Browse files
committed
add Orientation to tests
1 parent 1cb9cc8 commit 7f39f10

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tests/test_camera.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import unittest
44

55
from robot.camera import ResultList
6-
from robot.markers import CartCoord, PolarCoord, SphericalCoord
6+
from robot.markers import CartCoord, PolarCoord, SphericalCoord, Orientation
77
from robot.robot import Robot
88
from sb_vision.camera import FileCamera
99
from tests.mock_robotd import MockRobotD
@@ -80,6 +80,12 @@ def test_can_see_something(self):
8080
"Invalid spherical coordinates",
8181
)
8282

83+
self.assertIsInstance(
84+
token.orientation,
85+
Orientation,
86+
"Invalid orientation coordinates",
87+
)
88+
8389
self.assertIsInstance(
8490
token.polar,
8591
PolarCoord,

0 commit comments

Comments
 (0)