pose_format.torch.representation.distance_test module

Classes:

TestDistanceRepresentation([methodName])

Test cases of distance representation between points.

class pose_format.torch.representation.distance_test.TestDistanceRepresentation(methodName='runTest')[source]

Bases: TestCase

Test cases of distance representation between points.

Methods:

test_call_masked_value_should_be_zero()

Test if masked values return a distance of zero.

test_call_value_should_be_distance()

Tests if the returned distance is as expected for given non-masked/unmasked points.

test_call_masked_value_should_be_zero()[source]

Test if masked values return a distance of zero.

test_call_value_should_be_distance()[source]

Tests if the returned distance is as expected for given non-masked/unmasked points.