| 1 | // Copyright Louis Dionne 2013-2022 |
| 2 | // Distributed under the Boost Software License, Version 1.0. |
| 3 | // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) |
| 4 | |
| 5 | #include "minimal.hpp" |
| 6 | |
| 7 | #include <boost/hana/tuple.hpp> |
| 8 | |
| 9 | #include <laws/comparable.hpp> |
| 10 | namespace hana = boost::hana; |
| 11 | |
| 12 | |
| 13 | int main() { |
| 14 | constexpr auto ints = hana::make_tuple( |
| 15 | minimal_constant<int, -3>{}, |
| 16 | minimal_constant<int, 0>{}, |
| 17 | minimal_constant<int, 1>{}, |
| 18 | minimal_constant<int, 2>{}, |
| 19 | minimal_constant<int, 3>{} |
| 20 | ); |
| 21 | |
| 22 | hana::test::TestComparable<minimal_constant_tag<int>>{ints}; |
| 23 | } |
| 24 | |