15#include <catch_amalgamated.hpp>
42 REQUIRE(test1 ==
true);
43 REQUIRE(
test2 ==
true);
44 REQUIRE(test3 ==
false);
45 REQUIRE(test4 ==
true);
46 REQUIRE(test5 ==
false);
47 REQUIRE(test6 ==
false);
51 REQUIRE(test7 ==
true);
58 struct ExplicitNonMessageable {
64 struct FailedNonMessageable {
65 using non_messageable = int;
68 ExplicitNonMessageable
a;
70 FailedNonMessageable
c;
84 gsl::span<o2::test::TriviallyCopyable> spantriv;
85 gsl::span<o2::test::Polymorphic> spanpoly;
87 REQUIRE(is_messageable<
decltype(
a)>
::value ==
true);
88 REQUIRE(is_messageable<
decltype(
b)>
::value ==
true);
89 REQUIRE(is_messageable<
decltype(
c)>
::value ==
false);
90 REQUIRE(is_messageable<
decltype(
d)>
::value ==
true);
91 REQUIRE(is_messageable<
decltype(
e)>
::value ==
false);
93 REQUIRE(is_messageable<
decltype(spantriv)>
::value ==
false);
94 REQUIRE(is_messageable<
decltype(spanpoly)>
::value ==
false);
101 std::vector<o2::test::Polymorphic>
c;
102 std::map<int, o2::test::Polymorphic>
d;
118 std::vector<o2::test::Polymorphic>
c;
121 std::list<o2::test::TriviallyCopyable>
f;
159 constexpr bool t = base_of_template<std::vector, std::vector<int>>;
160 static_assert(
t ==
true,
"This should be true");
162 constexpr bool t2 = base_of_template<std::vector, int>;
163 static_assert(t2 ==
false,
"This should be true");
165 constexpr bool t3 = base_of_template<FooFoo, Bar>;
166 static_assert(t3 ==
true,
"This should be true");
168 constexpr bool t4 = base_of_template<FooFoo, NoBar>;
169 static_assert(t4 ==
false,
"This should be false");
171 constexpr bool t5 = base_of_template<NoFooFoo, NoBar>;
172 static_assert(t5 ==
true,
"This should be true");
Timeframe settings Average distance in cm of events merged into Randomize distance around average distance of merged events Simulate correct bunch interactions instead of placing only the average number of events A value[n] sets TFlen for[n] collisions in Number of bunches per trainsort Number of bunch trains Instantaneous interaction rate Do not simulate border Total number of collisions to be placed in the interior of all time Do not select random but walk over array of events in stride steps h Event generator settings h configStandalone Use CPU for GPU Force usage of the specified GPU device no CPU fallback Continue processing after an error First event to Number of events to Number of iterations to Number of iterations to Number of initial iterations excluded from const char e
Timeframe settings Average distance in cm of events merged into Randomize distance around average distance of merged events Simulate correct bunch interactions instead of placing only the average number of events A value[n] sets TFlen for[n] collisions in Number of bunches per trainsort Number of bunch trains Instantaneous interaction rate Do not simulate border Total number of collisions to be placed in the interior of all time Do not select random but walk over array of events in stride steps h Event generator settings h configStandalone Use CPU for GPU Force usage of the specified GPU device no CPU fallback Continue processing after an error First event to Number of events to Number of iterations to Number of iterations to Number of initial iterations excluded from const char Directory with events to Events directory is and not inside events d
Type wrappers for enfording a specific serialization method.
GLboolean GLboolean GLboolean b
GLsizei const GLfloat * value
GLboolean GLboolean GLboolean GLboolean a
Defining ITS Vertex explicitly as messageable.
TEST_CASE("test_prepareArguments")
constexpr bool is_specialization_v