21 std::stringstream out_stream;
32 ?
'{' +
test_result.parsed_output->pretty(0, 0) +
'}'
33 :
"empty optional irep";
40 std::string expected_error)
41 : expected_error{
std::move(expected_error)}
55 "\" printed to output.";
60 return {std::move(parse_tree),
""};
ait supplies three of the four components needed: an abstract interpreter (in this case handling func...
There are a large number of kinds of tree structured or tree-like data in CPROVER.
std::string expected_error
smt2_parser_error_containingt(std::string expected_error)
bool match(const smt2_parser_test_resultt &exception) const override
std::string describe() const override
std::optional< irept > smt2irep(std::istream &in, message_handlert &message_handler)
returns an irep for an SMT-LIB2 expression read from a given stream returns {} when EOF is encountere...
std::optional< irept > parsed_output
bool operator==(const smt2_parser_test_resultt &left, const smt2_parser_test_resultt &right)
Author: Diffblue Ltd.
std::ostream & operator<<(std::ostream &output_stream, const smt2_parser_test_resultt &test_result)
smt2_parser_test_resultt smt2_parser_success(irept parse_tree)