| 8 | #include <boost/ut.hpp> |
| 9 | |
| 10 | int main() { |
| 11 | using boost::ut::operator""_test; |
| 12 | using boost::ut::operator""_i; |
| 13 | |
| 14 | "using"_test = [] { |
| 15 | using boost::ut::expect; |
| 16 | |
| 17 | using boost::ut::eq; |
| 18 | expect(eq(42, 42)); |
| 19 | |
| 20 | using boost::ut::operator==; |
| 21 | expect(42_i == 42); |
| 22 | |
| 23 | using boost::ut::operator and; |
| 24 | using boost::ut::that; |
| 25 | expect(that % 1 == 1 and that % 2 == 2); |
| 26 | }; |
| 27 | } |