Simple test on a recob::PointCharge object. More...
Go to the source code of this file.
Macros | |
#define | BOOST_TEST_MODULE ( charge_test ) |
Functions | |
void | CheckCharge (recob::PointCharge const &obj, bool hasCharge, recob::PointCharge::Charge_t charge) |
void | ChargeTestDefaultConstructor () |
void | ChargeTestValueConstructors () |
BOOST_AUTO_TEST_CASE (ChargeTestDefaultConstructor_testcase) | |
BOOST_AUTO_TEST_CASE (ChargeTestValueConstructor_testcase) | |
Simple test on a recob::PointCharge object.
This test simply creates recob::PointCharge objects and verifies that the values it can access are the right ones.
See http://www.boost.org/libs/test for the Boost test library home page.
Definition in file PointCharge_test.cc.
#define BOOST_TEST_MODULE ( charge_test ) |
Definition at line 17 of file PointCharge_test.cc.
BOOST_AUTO_TEST_CASE | ( | ChargeTestDefaultConstructor_testcase | ) |
Definition at line 95 of file PointCharge_test.cc.
BOOST_AUTO_TEST_CASE | ( | ChargeTestValueConstructor_testcase | ) |
Definition at line 99 of file PointCharge_test.cc.
void ChargeTestDefaultConstructor | ( | ) |
Definition at line 50 of file PointCharge_test.cc.
void ChargeTestValueConstructors | ( | ) |
Definition at line 71 of file PointCharge_test.cc.
void CheckCharge | ( | recob::PointCharge const & | obj, |
bool | hasCharge, | ||
recob::PointCharge::Charge_t | charge | ||
) |
Definition at line 31 of file PointCharge_test.cc.