Test for TensorIndices class. More...
#include "lardata/Utilities/TensorIndices.h"#include "boost/test/unit_test.hpp"#include <stdexcept>Go to the source code of this file.
Macros | |
| #define | BOOST_TEST_MODULE ( PointIsolationAlg_test ) |
Functions | |
| void | VectorTest () |
| Test for a rank 1 tensor (vector) More... | |
| void | MatrixTest () |
| Test for a rank 2 tensor (matrix) More... | |
| void | TensorRank3Test () |
| Test for a rank 3 tensor. More... | |
| BOOST_AUTO_TEST_CASE (VectorTestCase) | |
| BOOST_AUTO_TEST_CASE (MatrixTestCase) | |
| BOOST_AUTO_TEST_CASE (TensorRank3TestCase) | |
Test for TensorIndices class.
This test instantiates some TensorIndices and verifies the reaction to some hard-coded settings and queries.
The test is run with no arguments.
Tests are run:
VectorTest: one-dimension tensor testMatrixTest: two-dimension tensor testTensorRank3Test: test rank 3 tensorSee the documentation of the three functions for more information.
Definition in file TensorIndices_test.cc.
| #define BOOST_TEST_MODULE ( PointIsolationAlg_test ) |
Definition at line 27 of file TensorIndices_test.cc.
| BOOST_AUTO_TEST_CASE | ( | VectorTestCase | ) |
Definition at line 310 of file TensorIndices_test.cc.
| BOOST_AUTO_TEST_CASE | ( | MatrixTestCase | ) |
Definition at line 314 of file TensorIndices_test.cc.
| BOOST_AUTO_TEST_CASE | ( | TensorRank3TestCase | ) |
Definition at line 318 of file TensorIndices_test.cc.
| void MatrixTest | ( | ) |
Test for a rank 2 tensor (matrix)
Definition at line 124 of file TensorIndices_test.cc.
| void TensorRank3Test | ( | ) |
Test for a rank 3 tensor.
Definition at line 213 of file TensorIndices_test.cc.
| void VectorTest | ( | ) |
Test for a rank 1 tensor (vector)
Definition at line 40 of file TensorIndices_test.cc.
1.8.5