Skip to content

Commit 7e5e014

Browse files
committed
Simplify utilities
1 parent dfcf2c3 commit 7e5e014

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

test/test_utils.hpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -423,9 +423,10 @@ namespace detail
423423
{ \
424424
auto _ctx1 = ::detail::make_context_info(#b1, b1); \
425425
auto _ctx2 = ::detail::make_context_info(#b2, b2); \
426-
CHECK_UNARY(::detail::expect_batch_near(b1, b2)); \
426+
CHECK_UNARY(batches_are_near); \
427427
} \
428428
} while (0)
429+
429430
#define CHECK_SCALAR_EQ(s1, s2) \
430431
do \
431432
{ \
@@ -434,9 +435,10 @@ namespace detail
434435
{ \
435436
auto _ctx1 = ::detail::make_context_info(#s1, s1); \
436437
auto _ctx2 = ::detail::make_context_info(#s2, s2); \
437-
CHECK_UNARY(::detail::expect_scalar_near(s1, s2)); \
438+
CHECK_UNARY(scalars_are_near); \
438439
} \
439440
} while (0)
441+
440442
#define CHECK_VECTOR_EQ(v1, v2) \
441443
do \
442444
{ \
@@ -445,7 +447,7 @@ namespace detail
445447
{ \
446448
auto _ctx1 = ::detail::make_context_info(#v1, v1); \
447449
auto _ctx2 = ::detail::make_context_info(#v2, v2); \
448-
CHECK_UNARY(::detail::expect_vector_near(v1, v2)); \
450+
CHECK_UNARY(vectors_are_near); \
449451
} \
450452
} while (0)
451453

0 commit comments

Comments
 (0)