Skip to content

Commit

Permalink
fix arduino tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alifahrri committed Oct 18, 2023
1 parent fb697ff commit 374a6a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/platformio/arduino/meta/test/test_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ NM_TEST_SUBCASE(eval, case6)
using lhs_t = int[2][3][2];
using rhs_t = int;
using view_t = decltype(view::add(declval(lhs_t),declval(rhs_t)));
using result_t = meta::resolve_optype_t<na::eval_result_t,view_t,nm::none_t>;
using result_t = meta::resolve_optype_t<na::eval_result_t<>,view_t,nm::none_t>;
using expect_t = utl::array<utl::array<utl::array<int,2>,3>,2>;
// to allow debugging type
constexpr auto is_same = meta::is_same<result_t,expect_t>{};
Expand All @@ -281,7 +281,7 @@ NM_TEST_SUBCASE(eval, case7)
using array_t = int[2][3][2];
using axis_t = int;
using view_t = decltype(view::reduce_add(declval(array_t),declval(axis_t)));
using result_t = meta::resolve_optype_t<na::eval_result_t,view_t,nm::none_t>;
using result_t = meta::resolve_optype_t<na::eval_result_t<>,view_t,nm::none_t>;
// using expect_t = na::hybrid_ndarray<int,2*3*2,2>;
using expect_t = meta::make_hybrid_ndarray_t<int,2*3*2,2>;
// to allow debugging type
Expand Down

0 comments on commit 374a6a7

Please sign in to comment.