extra test cases
This commit is contained in:
parent
d14908f954
commit
a6b6ea5ed0
@ -5,9 +5,9 @@
|
||||
#include <variant>
|
||||
#include <vector>
|
||||
|
||||
#include <boost/spirit/include/qi.hpp>
|
||||
#include <boost/phoenix.hpp>
|
||||
#include <boost/range/adaptor/indexed.hpp>
|
||||
#include <boost/spirit/include/qi.hpp>
|
||||
|
||||
#include <doctest.h>
|
||||
|
||||
@ -130,6 +130,10 @@ TEST_SUITE("2022-13 examples") {
|
||||
CHECK(!(Tree{Trees{Tree{2}}} < Tree{1}));
|
||||
CHECK(Tree{Trees{}} < Tree{Trees{Tree{2}}});
|
||||
CHECK(Tree{Trees{}} < Tree{Trees{Tree{2}}});
|
||||
CHECK(Tree{1} < Tree{Trees{Tree{2},Tree{3}}});
|
||||
CHECK(!(Tree{Trees{Tree{2},Tree{3}}} < Tree{1}));
|
||||
CHECK(Tree{2} < Tree{Trees{Tree{2},Tree{3}}});
|
||||
CHECK(!(Tree{Trees{Tree{2},Tree{3}}} < Tree{2}));
|
||||
}
|
||||
TEST_CASE("documented example") {
|
||||
std::istringstream in {
|
||||
|
Loading…
Reference in New Issue
Block a user