16namespace sequoia::testing
21 template<test_mode Mode>
24 check(equality,
"Species", logger, obtained.species, prediction.species);
25 check(equality,
"Symbol", logger, obtained.symbol, prediction.symbol);
32 using free_test::free_test;
35 std::filesystem::path source_file()
const;
39 check(equality, {
"Phoney equality check"}, 1, 1);
40 throw std::runtime_error{
"Throw after check"};
Core declarations / definitions used in the testing framework.
bool check(CheckType flavour, std::string description, test_logger< Mode > &logger, Iter first, Sentinel last, PredictionIter predictionFirst, PredictionSentinel predictionLast, tutor< Advisor > advisor={})
The workhorse for comparing the contents of ranges.
Definition: FreeCheckers.hpp:377
Utilities for creating new tests, especially from the commandline.
Utilities for running tests from the command line.
Definition: TestRunnerDiagnosticsUtilities.hpp:30
class template from which all concrete tests should derive.
Definition: FreeTestCore.hpp:144
Definition: TestLogger.hpp:183
Definition: FreeCheckers.hpp:82
Definition: TestCreator.hpp:29
class template, specializations of which implement various comparisons for the specified type.
Definition: FreeCheckers.hpp:78