Line data Source code
1 : /**
2 : * @file TPCChannelMap_test.cxx TPCChannelMap class Unit Tests
3 : *
4 : * This is part of the DUNE DAQ Application Framework, copyright 2020.
5 : * Licensing/copyright details are in the COPYING file that you should have
6 : * received with this code.
7 : */
8 :
9 : #include "detchannelmaps/TPCChannelMap.hpp"
10 :
11 : /**
12 : * @brief Name of this test module
13 : */
14 : #define BOOST_TEST_MODULE TPCChannelMap_test // NOLINT
15 :
16 : #include "boost/test/unit_test.hpp"
17 :
18 : #include <string>
19 :
20 : using namespace dunedaq;
21 :
22 : BOOST_AUTO_TEST_SUITE(BOOST_TEST_MODULE)
23 :
24 2 : BOOST_AUTO_TEST_CASE(Basics)
25 : {
26 1 : auto ptr = detchannelmaps::make_tpc_map("HDColdboxTPCChannelMap");
27 1 : BOOST_REQUIRE(ptr != nullptr);
28 1 : }
29 :
30 : BOOST_AUTO_TEST_SUITE_END()
|