Unit test for IntegerRanges
class.
More...
#include <boost/test/unit_test.hpp>
#include "icarusalg/Utilities/IntegerRanges.h"
#include "larcorealg/CoreUtils/enumerate.h"
#include <iostream>
#include <utility>
#include <array>
#include <type_traits>
Go to the source code of this file.
Macros | |
#define | BOOST_TEST_MODULE IntegerRanges |
Functions | |
template<typename Cont > | |
std::size_t | count (Cont const &cont) |
void | TestConstDefaultConstructed () |
void | TestDefaultConstructed () |
void | TestInitializerList () |
void | TestCollection () |
void | TestSparse () |
void | TestSingles () |
void | TestDuplicates () |
void | TestUnsorted () |
void | TestIntegerRangesDocumentation () |
BOOST_AUTO_TEST_CASE (BasicTestCase) | |
BOOST_AUTO_TEST_CASE (DocumentationTestCase) | |
Unit test for IntegerRanges
class.
Definition in file IntegerRanges_test.cc.
#define BOOST_TEST_MODULE IntegerRanges |
Definition at line 11 of file IntegerRanges_test.cc.
BOOST_AUTO_TEST_CASE | ( | BasicTestCase | ) |
Definition at line 264 of file IntegerRanges_test.cc.
BOOST_AUTO_TEST_CASE | ( | DocumentationTestCase | ) |
Definition at line 278 of file IntegerRanges_test.cc.
std::size_t count | ( | Cont const & | cont | ) |
Definition at line 29 of file IntegerRanges_test.cc.
void TestCollection | ( | ) |
Definition at line 95 of file IntegerRanges_test.cc.
void TestConstDefaultConstructed | ( | ) |
Definition at line 34 of file IntegerRanges_test.cc.
void TestDefaultConstructed | ( | ) |
Definition at line 47 of file IntegerRanges_test.cc.
void TestDuplicates | ( | ) |
Definition at line 187 of file IntegerRanges_test.cc.
void TestInitializerList | ( | ) |
Definition at line 66 of file IntegerRanges_test.cc.
void TestIntegerRangesDocumentation | ( | ) |
Definition at line 234 of file IntegerRanges_test.cc.
void TestSingles | ( | ) |
Definition at line 157 of file IntegerRanges_test.cc.
void TestSparse | ( | ) |
Definition at line 128 of file IntegerRanges_test.cc.
void TestUnsorted | ( | ) |
Definition at line 216 of file IntegerRanges_test.cc.