Simple test on a raw::RawDigit object. More...
#include <algorithm>#include "boost/test/unit_test.hpp"#include "larcoreobj/SimpleTypesAndConstants/RawTypes.h"#include "lardataobj/RawData/raw.h"#include "lardataobj/RawData/RawDigit.h"Go to the source code of this file.
Macros | |
| #define | BOOST_TEST_MODULE ( rawdigit_test ) |
Functions | |
| void | CheckRawDigit (raw::RawDigit const &digits, raw::ChannelID_t channel, unsigned short samples, raw::RawDigit::ADCvector_t const &uncompressed_adclist, raw::Compress_t compression) |
| void | RawDigitTestDefaultConstructor () |
| void | RawDigitTestCustomConstructors () |
| void | FibonacciCompressionTestCustomConstructor () |
| BOOST_AUTO_TEST_CASE (RawDigitDefaultConstructor) | |
| BOOST_AUTO_TEST_CASE (RawDigitCustomConstructors) | |
| BOOST_AUTO_TEST_CASE (FibonacciCompressionConstructor) | |
Simple test on a raw::RawDigit object.
This test simply creates raw::RawDigit 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.
Timing: version 1.0: <1" (debug mode)
Definition in file RawDigit_test.cc.
| #define BOOST_TEST_MODULE ( rawdigit_test ) |
Definition at line 31 of file RawDigit_test.cc.
| BOOST_AUTO_TEST_CASE | ( | RawDigitDefaultConstructor | ) |
Definition at line 192 of file RawDigit_test.cc.
| BOOST_AUTO_TEST_CASE | ( | RawDigitCustomConstructors | ) |
Definition at line 196 of file RawDigit_test.cc.
| BOOST_AUTO_TEST_CASE | ( | FibonacciCompressionConstructor | ) |
Definition at line 200 of file RawDigit_test.cc.
| void CheckRawDigit | ( | raw::RawDigit const & | digits, |
| raw::ChannelID_t | channel, | ||
| unsigned short | samples, | ||
| raw::RawDigit::ADCvector_t const & | uncompressed_adclist, | ||
| raw::Compress_t | compression | ||
| ) |
Definition at line 46 of file RawDigit_test.cc.
| void FibonacciCompressionTestCustomConstructor | ( | ) |
Definition at line 155 of file RawDigit_test.cc.
| void RawDigitTestCustomConstructors | ( | ) |
Definition at line 110 of file RawDigit_test.cc.
| void RawDigitTestDefaultConstructor | ( | ) |
Definition at line 85 of file RawDigit_test.cc.
1.8.5