10 #define BOOST_TEST_MODULE ( isValidLibraryData_test )
11 #include "boost/test/unit_test.hpp"
63 std::vector<float> valid_vector(4U, 1.0);
64 std::vector<float> invalid_vector;
66 std::array<float, 4U> valid_STLarray;
69 float valid_array[4U] = { 1.0, 2.0, 3.0, 4.0 };
72 float const* valid_cptr = valid_array;
73 float const* invalid_cptr =
nullptr;
75 float const*
const valid_cptrc = valid_array;
76 float const*
const invalid_cptrc =
nullptr;
78 std::unique_ptr<float> valid_uptr {
new float[4U] };
79 std::unique_ptr<float> invalid_uptr;
Data container for use with photon visibility libraries.
std::size_t size(FixedBins< T, C > const &) noexcept
void isValidLibraryData_test()
SizedContainer(std::size_t size=0U)
bool isValidLibraryData(Cont &&cont)
Returns the validity of content of library data in the container.