Test of geo_vectors_utils.h utilities. More...
#include <boost/test/unit_test.hpp>
#include "larcorealg/Geometry/geo_vectors_utils_TVector.h"
#include "larcorealg/Geometry/geo_vectors_utils.h"
#include "larcorealg/CoreUtils/MetaUtils.h"
#include "TVector2.h"
#include "TVector3.h"
#include "TLorentzVector.h"
#include <iostream>
#include <sstream>
#include <string>
#include <array>
#include <vector>
#include <numeric>
#include <type_traits>
#include <stdexcept>
#include <cmath>
Go to the source code of this file.
Classes | |
struct | test_vectorAccess< Vector > |
struct | test_vectorAccess< Vector const > |
struct | IsfiniteTester< Vector, Dim > |
struct | IsfiniteTester< Vector, 4U > |
struct | IsfiniteTester< Vector, 3U > |
struct | IsfiniteTester< Vector, 2U > |
struct | VectorTraitsTester |
struct | VectorTraitsTester::Vector0D< C > |
struct | VectorTraitsTester::Vector1D< C > |
struct | VectorTraitsTester::Vector2D< C > |
struct | VectorTraitsTester::Vector3D< C > |
struct | VectorTraitsTester::Vector4D< C > |
struct | VectorTraitsTester::Vector5D< C > |
Macros | |
#define | BOOST_TEST_MODULE ( geo_vectors_test ) |
Functions | |
template<typename PointA , typename PointB > | |
void | CheckPoint (PointA const &test, PointB const &ref, std::string tag="") |
void | test_MiddlePointAccumulator_defaultConstructor () |
void | test_MiddlePointAccumulator_sequenceConstructor () |
template<typename Point > | |
void | test_MiddlePointAccumulator_generic () |
void | test_MiddlePointAccumulator_documentation_class () |
void | test_MiddlePointAccumulator_documentation_middlePointAs () |
void | test_MiddlePointAccumulator_documentation () |
void | test_middlePoint () |
void | test_middlePointAs_documentation () |
void | test_middlePoint_iterators_documentation () |
void | test_middlePoint_initlist_documentation () |
template<typename Vector > | |
void | test_vectorProcessing () |
template<typename Source , typename Dest > | |
void | test_vector2Dconvert () |
template<typename Source , typename Dest > | |
void | test_vector3Dconvert () |
template<typename Source , typename Dest > | |
void | test_vector4Dconvert () |
void | test_makeFromCoords_documentation () |
template<typename Vector > | |
void | test_transform () |
void | test_XcoordManager_documentation () |
template<typename Vector > | |
void | test_CoordConstIterator () |
template<typename Vector > | |
void | test_fillCoords () |
BOOST_AUTO_TEST_CASE (MiddlePointAccumulator_test) | |
BOOST_AUTO_TEST_CASE (middlePoint_test) | |
BOOST_AUTO_TEST_CASE (middlePoint_documentation_test) | |
BOOST_AUTO_TEST_CASE (vectorAccess_test) | |
BOOST_AUTO_TEST_CASE (vectorUtilDocumentation_test) | |
BOOST_AUTO_TEST_CASE (vectorProperties_test) | |
BOOST_AUTO_TEST_CASE (vectorProcessing_test) | |
BOOST_AUTO_TEST_CASE (vectorConversion_test) | |
BOOST_AUTO_TEST_CASE (vectorCoordinateIteration_test) | |
Test of geo_vectors_utils.h utilities.
Definition in file geo_vectors_utils_test.cc.
#define BOOST_TEST_MODULE ( geo_vectors_test ) |
Definition at line 10 of file geo_vectors_utils_test.cc.
BOOST_AUTO_TEST_CASE | ( | MiddlePointAccumulator_test | ) |
Definition at line 1094 of file geo_vectors_utils_test.cc.
BOOST_AUTO_TEST_CASE | ( | middlePoint_test | ) |
Definition at line 1103 of file geo_vectors_utils_test.cc.
BOOST_AUTO_TEST_CASE | ( | middlePoint_documentation_test | ) |
Definition at line 1107 of file geo_vectors_utils_test.cc.
BOOST_AUTO_TEST_CASE | ( | vectorAccess_test | ) |
Definition at line 1114 of file geo_vectors_utils_test.cc.
BOOST_AUTO_TEST_CASE | ( | vectorUtilDocumentation_test | ) |
Definition at line 1124 of file geo_vectors_utils_test.cc.
BOOST_AUTO_TEST_CASE | ( | vectorProperties_test | ) |
Definition at line 1131 of file geo_vectors_utils_test.cc.
BOOST_AUTO_TEST_CASE | ( | vectorProcessing_test | ) |
Definition at line 1137 of file geo_vectors_utils_test.cc.
BOOST_AUTO_TEST_CASE | ( | vectorConversion_test | ) |
Definition at line 1147 of file geo_vectors_utils_test.cc.
BOOST_AUTO_TEST_CASE | ( | vectorCoordinateIteration_test | ) |
Definition at line 1191 of file geo_vectors_utils_test.cc.
void CheckPoint | ( | PointA const & | test, |
PointB const & | ref, | ||
std::string | tag = "" |
||
) |
Definition at line 38 of file geo_vectors_utils_test.cc.
void test_CoordConstIterator | ( | ) |
Definition at line 1043 of file geo_vectors_utils_test.cc.
void test_fillCoords | ( | ) |
Definition at line 1071 of file geo_vectors_utils_test.cc.
void test_makeFromCoords_documentation | ( | ) |
Definition at line 846 of file geo_vectors_utils_test.cc.
void test_middlePoint | ( | ) |
Definition at line 288 of file geo_vectors_utils_test.cc.
void test_middlePoint_initlist_documentation | ( | ) |
Definition at line 379 of file geo_vectors_utils_test.cc.
void test_middlePoint_iterators_documentation | ( | ) |
Definition at line 352 of file geo_vectors_utils_test.cc.
void test_MiddlePointAccumulator_defaultConstructor | ( | ) |
Definition at line 54 of file geo_vectors_utils_test.cc.
void test_MiddlePointAccumulator_documentation | ( | ) |
Definition at line 279 of file geo_vectors_utils_test.cc.
void test_MiddlePointAccumulator_documentation_class | ( | ) |
Definition at line 210 of file geo_vectors_utils_test.cc.
void test_MiddlePointAccumulator_documentation_middlePointAs | ( | ) |
Definition at line 259 of file geo_vectors_utils_test.cc.
void test_MiddlePointAccumulator_generic | ( | ) |
Definition at line 137 of file geo_vectors_utils_test.cc.
void test_MiddlePointAccumulator_sequenceConstructor | ( | ) |
Definition at line 110 of file geo_vectors_utils_test.cc.
void test_middlePointAs_documentation | ( | ) |
Definition at line 328 of file geo_vectors_utils_test.cc.
void test_transform | ( | ) |
Definition at line 867 of file geo_vectors_utils_test.cc.
void test_vector2Dconvert | ( | ) |
Definition at line 757 of file geo_vectors_utils_test.cc.
void test_vector3Dconvert | ( | ) |
Definition at line 786 of file geo_vectors_utils_test.cc.
void test_vector4Dconvert | ( | ) |
Definition at line 816 of file geo_vectors_utils_test.cc.
void test_vectorProcessing | ( | ) |
Definition at line 748 of file geo_vectors_utils_test.cc.
void test_XcoordManager_documentation | ( | ) |
Definition at line 883 of file geo_vectors_utils_test.cc.