8#include "../macros.hpp"
9#include <gtest/gtest.h>
13namespace hi {
inline namespace v1 {
namespace detail {
16template<
typename T, std::
size_t N>
17::testing::AssertionResult
20 if (
equal(lhs, rhs)) {
21 return ::testing::AssertionSuccess();
27template<
typename T, std::
size_t N>
28::testing::AssertionResult
32 return ::testing::AssertionSuccess();
39template<
typename T, std::
size_t N>
40::testing::AssertionResult CmpHelperEQ(
46 if (
equal(lhs, rhs)) {
47 return ::testing::AssertionSuccess();
53template<
typename T, std::
size_t N>
54::testing::AssertionResult CmpHelperNE(
61 return ::testing::AssertionSuccess();
69#define HI_ASSERT_SIMD_EQ(val1, val2) ASSERT_PRED_FORMAT2(hi::detail::CmpHelperEQ, val1, val2)
70#define HI_ASSERT_SIMD_NE(val1, val2) ASSERT_PRED_FORMAT2(hi::detail::CmpHelperNE, val1, val2)
DOXYGEN BUG.
Definition algorithm.hpp:16
geometry/margins.hpp
Definition lookahead_iterator.hpp:5
constexpr Out narrow_cast(In const &rhs) noexcept
Cast numeric values without loss of precision.
Definition cast.hpp:377
A native-SIMD type.
Definition native_simd_utility.hpp:162