1 #ifndef UTOPIA_CORE_TESTTOOLS_UTILS_HH
2 #define UTOPIA_CORE_TESTTOOLS_UTILS_HH
9 #include <spdlog/spdlog.h>
19 bool contains (
const std::string_view s,
const std::string_view match) {
20 return not (s.find(match) == std::string_view::npos);
35 std::string_view
fstr =
"@ {file_name:}::{line:d} : ";
54 using namespace fmt::literals;
57 fmt::make_format_args(
59 "file_name"_a=
file_path.filename().string(),