File test.h¶
Defines
-
BOOST_TEST_DYN_LINK¶
Variables
-
double
storage¶
-
namespace
lsst Class for a simple mapping implementing a generic AstrometryTransform.
Remove all non-astronomical counts from the Chunk Exposure’s pixels.
Forward declarations for lsst::utils::Cache
For details on the Cache class, see the Cache.h file.
It uses a template rather than a pointer so that the derived classes can use the specifics of the transform. The class simplePolyMapping overloads a few routines.
A base class for image defects
Numeric constants used by the Integrate.h integrator routines.
Compute Image Statistics
- Note
Gauss-Kronrod-Patterson quadrature coefficients for use in quadpack routine qng. These coefficients were calculated with 101 decimal digit arithmetic by L. W. Fullerton, Bell Labs, Nov 1981.
- Note
The Statistics class itself can only handle lsst::afw::image::MaskedImage() types. The philosophy has been to handle other types by making them look like lsst::afw::image::MaskedImage() and reusing that code. Users should have no need to instantiate a Statistics object directly, but should use the overloaded makeStatistics() factory functions.
-
namespace
afw -
namespace
typehandling -
namespace
test¶ Functions
-
BOOST_TEST_CASE_TEMPLATE_FUNCTION(TestConstAt, GenericMapFactory)¶
-
BOOST_TEST_CASE_TEMPLATE_FUNCTION(TestAt, GenericMapFactory)¶
-
BOOST_TEST_CASE_TEMPLATE_FUNCTION(TestEquals, GenericMapFactory)¶
-
BOOST_TEST_CASE_TEMPLATE_FUNCTION(TestConstVisitor, GenericMapFactory)¶
-
BOOST_TEST_CASE_TEMPLATE_FUNCTION(TestModifyingVoidVisitor, GenericMapFactory)¶
-
BOOST_TEST_CASE_TEMPLATE_FUNCTION(TestModifyingReturningVisitor, GenericMapFactory)¶
-
BOOST_TEST_CASE_TEMPLATE_FUNCTION(TestMutableEquals, GenericMapFactory)¶
-
BOOST_TEST_CASE_TEMPLATE_FUNCTION(TestSize, GenericMapFactory)¶
-
BOOST_TEST_CASE_TEMPLATE_FUNCTION(TestMutableSize, GenericMapFactory)¶
-
BOOST_TEST_CASE_TEMPLATE_FUNCTION(TestWeakContains, GenericMapFactory)¶
-
BOOST_TEST_CASE_TEMPLATE_FUNCTION(TestContains, GenericMapFactory)¶
-
BOOST_TEST_CASE_TEMPLATE_FUNCTION(TestKeys, GenericMapFactory)¶
-
BOOST_TEST_CASE_TEMPLATE_FUNCTION(TestKeyOrder, GenericMapFactory)¶
-
BOOST_TEST_CASE_TEMPLATE_FUNCTION(TestClearIdempotent, GenericMapFactory)¶
-
BOOST_TEST_CASE_TEMPLATE_FUNCTION(TestClear, GenericMapFactory)¶
-
BOOST_TEST_CASE_TEMPLATE_FUNCTION(TestInsertInt, GenericMapFactory)¶
-
BOOST_TEST_CASE_TEMPLATE_FUNCTION(TestWeakInsertInt, GenericMapFactory)¶
-
BOOST_TEST_CASE_TEMPLATE_FUNCTION(TestInsertString, GenericMapFactory)¶
-
BOOST_TEST_CASE_TEMPLATE_FUNCTION(TestWeakInsertString, GenericMapFactory)¶
-
BOOST_TEST_CASE_TEMPLATE_FUNCTION(TestInsertStorable, GenericMapFactory)¶
-
BOOST_TEST_CASE_TEMPLATE_FUNCTION(TestInterleavedInserts, GenericMapFactory)¶
-
BOOST_TEST_CASE_TEMPLATE_FUNCTION(TestErase, GenericMapFactory)¶
-
BOOST_TEST_CASE_TEMPLATE_FUNCTION(TestInsertEraseInsert, GenericMapFactory)¶
-
template<class
GenericMapFactory>
voidaddGenericMapTestCases(boost::unit_test::test_suite *const suite)¶ Create generic test cases for a specific GenericMap implementation.
- Template Parameters
GenericMapFactory: a subclass of GenericFactory that creates the desired implementation. Must be default-constructible.
- Parameters
suite: the test suite to add the tests to.
-
template<class
GenericMapFactory>
voidaddMutableGenericMapTestCases(boost::unit_test::test_suite *const suite)¶ Create generic test cases for a specific MutableGenericMap implementation.
The tests will include all those added by addGenericMapTestCases.
- Template Parameters
GenericMapFactory: a subclass of GenericFactory that creates the desired implementation. Must be default-constructible.
- Parameters
suite: the test suite to add the tests to.
-
template<class
GenericMapFactory>
voidaddGenericMapTestCases()¶ Create generic test cases for a specific GenericMap implementation.
The tests will be added to the master test suite.
- Template Parameters
GenericMapFactory: a subclass of GenericFactory that creates the desired implementation. Must be default-constructible.
-
template<class
GenericMapFactory>
voidaddMutableGenericMapTestCases()¶ Create generic test cases for a specific MutableGenericMap implementation.
The tests will be added to the master test suite. They will include all tests added by addGenericMapTestCases.
- Template Parameters
GenericMapFactory: a subclass of GenericFactory that creates the desired implementation. Must be default-constructible.
-
class
GenericFactory - #include <test.h>
Abstract factory that creates GenericMap and MutableGenericMap instances as needed.
Public Functions
-
virtual
~GenericFactory()
-
virtual std::unique_ptr<GenericMap<int>>
makeGenericMap() const = 0 Create a map containing the following state:
KEY0: VALUE0KEY1: VALUE1KEY2: VALUE2KEY3: VALUE3KEY4: std::shared_ptr<>(VALUE4)KEY5: VALUE5KEY6: VALUE6
-
virtual std::unique_ptr<MutableGenericMap<std::string>>
makeMutableGenericMap() const = 0 Create an empty map.
-
virtual
-
-
namespace
-
namespace