15namespace sequoia::testing
17 template<maths::convex_space PhysicalValueSpace, physics::physical_unit Unit,
class Convention,
class Origin,
class Val
idator>
21 using value_type = type::value_type;
22 constexpr static auto dimension{type::dimension};
24 template<test_mode Mode>
27 if constexpr(dimension == 1)
29 check(equality,
"Wrapped Value", logger, actual.value(), prediction.value());
33 check(equality,
"Wrapped Values", logger, actual.values(), prediction.values());
37 template<test_mode Mode>
38 requires (dimension == 1)
41 check(equality,
"Wrapped Value", logger, actual.value(), prediction);
44 template<test_mode Mode>
45 requires (dimension > 1)
48 check(equivalence,
"Wrapped Values", logger, actual.values(), prediction);
52 template<maths::convex_space ValueSpace,
class Unit,
class Convention,
class Origin,
class Val
idator>
53 inline constexpr bool defines_physical_value_v{
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 checking regular semantics.
Definition: PhysicalValues.hpp:440
Definition: TestLogger.hpp:183
Definition: FreeCheckers.hpp:82
Definition: FreeCheckers.hpp:87
class template, specializations of which implement various comparisons for the specified type.
Definition: FreeCheckers.hpp:78