8#include <framework/logging/Logger.h>
9#include <gtest/gtest.h>
45 if (testVector[0] == 42)
return true;
65 EXPECT_TRUE(doStuffHere());
66 EXPECT_FALSE(doStuffHere({23}));
68 if (doStuffHere() ==
false) {
69 B2WARNING(
"it didn't work!");
71 B2WARNING(
"yay, it worked!");
79 EXPECT_TRUE(std::isinf(1. / 0.));
80 EXPECT_FALSE(std::isnan(1. / 0.));
81 EXPECT_TRUE(std::isnan(std::sqrt(-1)));
82 EXPECT_FALSE(std::isinf(std::sqrt(-1)));
83 EXPECT_TRUE(std::isnan(0. / 0.));
84 EXPECT_FALSE(std::isinf(0. / 0.));
87 EXPECT_FALSE(std::isinf(std::pow(0., 0.)));
Testing autoAssignment of vectors for functions.
bool doStuffHere(std::vector< double > testVector={ 42})
just a small dummy-function to test the expected behavior
should behave differently for different verbosity-levels given - class
void SomeCleverMethod()
should behave differently for different verbosity-levels given - function
static void GiveVerboseOutput(double &result)
do nothing relevant here just needing a dummy functhion
Abstract base class for different kinds of events.