lenspack.tests.test_geometry module

UNIT TESTS FOR GEOMETRY

This module contains unit tests for the geometry module.

class lenspack.tests.test_geometry.MeasuresTestCase(methodName='runTest')[source]

Bases: unittest.case.TestCase

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()[source]

Hook method for setting up the test fixture before exercising it.

tearDown()[source]

Hook method for deconstructing the test fixture after testing it.

test_angular_distance()[source]
test_solid_angle()[source]
class lenspack.tests.test_geometry.ProjectionsTestCase(methodName='runTest')[source]

Bases: unittest.case.TestCase

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()[source]

Hook method for setting up the test fixture before exercising it.

tearDown()[source]

Hook method for deconstructing the test fixture after testing it.

test_projector()[source]