19 : name_ (testName), next_(0), lineNumber_(-1), safeCheck_(true)
24 Test::Test (
const std::string& testName,
const std::string&
filename,
long lineNumber,
bool safeCheck)
43 if (expected == actual)
48 std::string(__FILE__),
50 std::to_string(expected),
51 std::to_string(actual)));
60 if (expected == actual)
65 std::string(__FILE__),
bool check(long expected, long actual, TestResult &result, const std::string &fileName, long lineNumber)
static void addTest(Test *test)
Test(const std::string &testName)
void test(OptionalJacobian< 2, 3 > H={})
virtual void addFailure(const Failure &failure)
bool safeCheck_
This is the line line number of the test, rather than the a single check.