Add monospace relational tests (refs #25)

This commit is contained in:
Peter Dimov
2021-03-08 03:01:21 +02:00
parent 6d19e6be68
commit 8ec0bf448a
4 changed files with 32 additions and 0 deletions
+9
View File
@@ -81,5 +81,14 @@ int main()
BOOST_TEST_NOT( v1 >= v2 );
}
{
variant<monostate> v1, v2;
BOOST_TEST_NOT( v1 < v2 );
BOOST_TEST_NOT( v1 > v2 );
BOOST_TEST( v1 <= v2 );
BOOST_TEST( v1 >= v2 );
}
return boost::report_errors();
}