symforce.test_util.cam_test_mixin module#

class CamTestMixin[source]#

Bases: object

Test helper for camera objects. Inherit a test case from this.

EPSILON = 1e-08#
classmethod element()[source]#

Overriden by child to provide an example of a camera or camera calibration object.

Return type:

Any

test_pixel_from_camera_point()[source]#

Tests:

  • pixel_from_camera_point

Return type:

None

test_camera_ray_from_pixel()[source]#

Tests:

  • camera_ray_from_pixel

Return type:

None