/**************************************************************************** * Copyright (c) 2017-2022 by the ArborX authors * * All rights reserved. * * * * This file is part of the ArborX library. ArborX is * * distributed under a BSD 3-clause license. For the licensing terms see * * the LICENSE file in the top-level directory. * * * * SPDX-License-Identifier: BSD-3-Clause * ****************************************************************************/ #ifndef ARBORX_BOOST_TEST_KOKKOS_PAIR_COMPARISON_HPP #define ARBORX_BOOST_TEST_KOKKOS_PAIR_COMPARISON_HPP #include #include #include // Enable comparison of Kokkos pairs namespace boost::test_tools::tt_detail { template struct print_log_value> { void operator()(std::ostream &os, Kokkos::pair const &p) { os << '('; print_log_value()(os, p.first); os << ','; print_log_value()(os, p.second); os << ')'; } }; } // namespace boost::test_tools::tt_detail #endif