Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Assertions.hpp File Reference
#include <boost/test/unit_test.hpp>
#include <vector>
+ Include dependency graph for Assertions.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CHECK_NE_COLLECTIONS(col1, col2)
 

Macro Definition Documentation

#define CHECK_NE_COLLECTIONS (   col1,
  col2 
)
Value:
do { \
BOOST_CHECK_EQUAL(col1.size(), col2.size()); \
std::vector<bool> result; \
for (size_t i = 0; i < col1.size(); i++) { \
result.push_back(col1[i] == col2[i]); \
} \
BOOST_CHECK(not std::all_of(result.begin(), result.end(), \
[](bool r) { return r; })); \
} while (0)

Definition at line 15 of file Assertions.hpp.

View newest version in sPHENIX GitHub at line 15 of file Assertions.hpp

Referenced by Acts::Test::BOOST_AUTO_TEST_CASE().