aboutsummaryrefslogtreecommitdiffstats
path: root/include/jau
diff options
context:
space:
mode:
authorSven Göthel <[email protected]>2024-05-04 04:38:49 +0200
committerSven Göthel <[email protected]>2024-05-04 04:38:49 +0200
commit39d47afed2bfeaf795dde41fa258418bcf3b4542 (patch)
tree84c83eed3949d2f83d72609854c1a3a37104d349 /include/jau
parent39e35fd885ae56a674ac05cbe46095641966bd97 (diff)
Misc fixes occured w/ Direct-BT
Diffstat (limited to 'include/jau')
-rw-r--r--include/jau/string_util.hpp1
-rw-r--r--include/jau/test/catch2_ext.hpp8
2 files changed, 5 insertions, 4 deletions
diff --git a/include/jau/string_util.hpp b/include/jau/string_util.hpp
index 6dbe048..252a0e3 100644
--- a/include/jau/string_util.hpp
+++ b/include/jau/string_util.hpp
@@ -31,6 +31,7 @@
#include <cstdarg>
#include <memory>
#include <type_traits>
+#include <vector>
#include <jau/cpp_lang_util.hpp>
#include <jau/packed_attribute.hpp>
diff --git a/include/jau/test/catch2_ext.hpp b/include/jau/test/catch2_ext.hpp
index 992aa24..23d59c1 100644
--- a/include/jau/test/catch2_ext.hpp
+++ b/include/jau/test/catch2_ext.hpp
@@ -74,11 +74,11 @@
#define INFO_STR( msg ) INTERNAL_CATCH_INFO( "INFO", static_cast<std::string>(msg) )
- #define REQUIRE_EPSI(a,b) INTERNAL_CATCH_TEST( "REQUIRE: ", Catch::ResultDisposition::Normal, jau::machine_equal(a, b))
- #define REQUIRE_EPSI_MSG(m,a,b) INTERNAL_CATCH_TEST_M( m, "REQUIRE: ", Catch::ResultDisposition::Normal, jau::machine_equal(a, b))
+ #define REQUIRE_EPSI(a,b) INTERNAL_CATCH_TEST( "REQUIRE: ", Catch::ResultDisposition::Normal, jau::equals(a, b))
+ #define REQUIRE_EPSI_MSG(m,a,b) INTERNAL_CATCH_TEST_M( m, "REQUIRE: ", Catch::ResultDisposition::Normal, jau::equals(a, b))
- #define REQUIRE_DIFF(a,b,d) INTERNAL_CATCH_TEST( "REQUIRE: ", Catch::ResultDisposition::Normal, jau::machine_equal(a, b, 1, d))
- #define REQUIRE_DIFF_MSG(m,a,b,d) INTERNAL_CATCH_TEST_M( m, "REQUIRE: ", Catch::ResultDisposition::Normal, jau::machine_equal(a, b, 1, d))
+ #define REQUIRE_DIFF(a,b,d) INTERNAL_CATCH_TEST( "REQUIRE: ", Catch::ResultDisposition::Normal, jau::equals(a, b, 1, d))
+ #define REQUIRE_DIFF_MSG(m,a,b,d) INTERNAL_CATCH_TEST_M( m, "REQUIRE: ", Catch::ResultDisposition::Normal, jau::equals(a, b, 1, d))
#define COMPARE_SARRAYS(lhs, rhs) compareStdArrays(Catch::getResultCapture().getCurrentTestName(), __LINE__, lhs, rhs)