52 template<
typename... T>
56 std::format_string<
const T&...>
format;
70 requires std::convertible_to<const S&, std::string_view>
71 consteval AssertMessage(
const S& fmt, std::source_location loc = std::source_location::current());
84 ANCH_UT_EXPORT
void fail(std::string_view message =
"",
const std::source_location& location = std::source_location::current());
95 void assertTrue(
bool check, std::string_view message =
"",
const std::source_location& location = std::source_location::current());
106 void assertFalse(
bool check, std::string_view message =
"",
const std::source_location& location = std::source_location::current());
121 template<
typename... T>
137 bool equals(
const char*
const field,
const std::set<T>& expected,
const std::set<T>& value, std::ostream& out = std::cout);
152 bool equals(
const char*
const field,
const std::list<T>& expected,
const std::list<T>& value, std::ostream& out = std::cout);
167 bool equals(
const char*
const field,
const std::vector<T>& expected,
const std::vector<T>& value, std::ostream& out = std::cout);
182 bool equals(
const char*
const field,
const std::optional<T>& expected,
const std::optional<T>& value, std::ostream& out = std::cout);
197 bool equals(
const char*
const field,
const std::shared_ptr<T>& expected,
const std::shared_ptr<T>& value, std::ostream& out = std::cout);
213 bool equalsPtr(
const char*
const field,
const T*
const expected,
const T*
const value, std::ostream& out = std::cout);
228 bool equals(
const char*
const field,
const T& expected,
const T& value, std::ostream& out = std::cout);