Skip to content

Commit

Permalink
Make rvalue test a run time test
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuuichi Asahi committed Oct 15, 2024
1 parent f0a9ada commit 8b4821d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions common/unit_test/Test_Utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,5 @@ TEST(ToArray, lvalue) {
}

TEST(ToArray, rvalue) {
GTEST_SKIP() << "Skipping ToArray::rvalue compile time test";
static_assert(KokkosFFT::Impl::to_array(std::array{1, 2}) ==
Kokkos::Array{1, 2});
ASSERT_EQ(KokkosFFT::Impl::to_array(std::array{1, 2}), (Kokkos::Array{1, 2}));
}

0 comments on commit 8b4821d

Please sign in to comment.