Unit test for quantities.h
header.
More...
#include <boost/test/unit_test.hpp>
#include "lardataalg/Utilities/quantities/spacetime.h"
#include "lardataalg/Utilities/quantities.h"
#include "larcorealg/CoreUtils/StdUtils.h"
#include "test/Utilities/disable_boost_fpc_tolerance.hpp"
#include <type_traits>
Go to the source code of this file.
Classes | |
struct | EmptyClass< typename > |
Macros | |
#define | BOOST_TEST_MODULE ( quantities_test ) |
Functions | |
void | test_quantities_sign () |
void | test_quantities_conversions () |
void | test_quantities_comparisons () |
void | test_quantities_multiply_scalar () |
void | test_quantities_addition () |
void | test_quantities_increment () |
void | test_quantities_scale () |
void | test_quantities_literals () |
void | test_quantities () |
void | test_constexpr_operations () |
void | test_makeQuantity () |
BOOST_AUTO_TEST_CASE (quantities_testcase) | |
Unit test for quantities.h
header.
Definition in file quantities_test.cc.
#define BOOST_TEST_MODULE ( quantities_test ) |
Definition at line 11 of file quantities_test.cc.
BOOST_AUTO_TEST_CASE | ( | quantities_testcase | ) |
Definition at line 549 of file quantities_test.cc.
void test_constexpr_operations | ( | ) |
Definition at line 431 of file quantities_test.cc.
void test_makeQuantity | ( | ) |
Definition at line 487 of file quantities_test.cc.
void test_quantities | ( | ) |
Definition at line 399 of file quantities_test.cc.
void test_quantities_addition | ( | ) |
Definition at line 265 of file quantities_test.cc.
void test_quantities_comparisons | ( | ) |
Definition at line 175 of file quantities_test.cc.
void test_quantities_conversions | ( | ) |
Definition at line 146 of file quantities_test.cc.
void test_quantities_increment | ( | ) |
Definition at line 311 of file quantities_test.cc.
void test_quantities_literals | ( | ) |
Definition at line 378 of file quantities_test.cc.
void test_quantities_multiply_scalar | ( | ) |
Definition at line 216 of file quantities_test.cc.
void test_quantities_scale | ( | ) |
Definition at line 352 of file quantities_test.cc.
void test_quantities_sign | ( | ) |
Definition at line 119 of file quantities_test.cc.