Example #1
0
    def test_copy(self):
        """Test that the ``copy`` method is not implemented.

        """
        p = BasePose([])

        with self.assertRaises(NotImplementedError):
            p.copy()
Example #2
0
    def test_to_compact(self):
        """Test that the ``to_compact`` method is not implemented.

        """
        p = BasePose([])

        with self.assertRaises(NotImplementedError):
            p.to_compact()
Example #3
0
    def test_jacobian_boxplus(self):
        """Test that the ``jacobian_boxplus`` method is not implemented.

        """
        p1 = BasePose([])

        with self.assertRaises(NotImplementedError):
            _ = p1.jacobian_boxplus()
Example #4
0
    def test_sub(self):
        """Test that the overloaded ``__sub__`` method is not implemented.

        """
        p1 = BasePose([])
        p2 = BasePose([])

        with self.assertRaises(NotImplementedError):
            _ = p2 - p1
Example #5
0
    def test_jacobian_self_ominus_other_wrt_other_compact(self):
        """Test that the ``jacobian_self_ominus_other_wrt_other_compact`` method is not implemented.

        """
        p1 = BasePose([])
        p2 = BasePose([])

        with self.assertRaises(NotImplementedError):
            _ = p1.jacobian_self_ominus_other_wrt_other_compact(p2)
Example #6
0
    def test_inverse(self):
        """Test that the ``inverse`` property is not implemented.

        """
        p = BasePose([])

        with self.assertRaises(NotImplementedError):
            _ = p.inverse
Example #7
0
    def test_orientation(self):
        """Test that the ``orientation`` property is not implemented.

        """
        p = BasePose([])

        with self.assertRaises(NotImplementedError):
            _ = p.orientation