pose_format.torch.representation.angle_test module

Classes:

TestAngleRepresentation([methodName])

Test cases to make sure the correct functioning of AngleRepresentation.

class pose_format.torch.representation.angle_test.TestAngleRepresentation(methodName='runTest')[source]

Bases: TestCase

Test cases to make sure the correct functioning of AngleRepresentation.

Methods:

test_call_masked_value_should_be_zero()

Test if the masked values in computed angle tensor are zeros.

test_call_value_should_be_angle()

Tests the computed angle value matches expected value.

test_call_masked_value_should_be_zero()[source]

Test if the masked values in computed angle tensor are zeros.

test_call_value_should_be_angle()[source]

Tests the computed angle value matches expected value.