3#ifndef CPROVER_TESTING_UTILS_INVARIANT_H
4#define CPROVER_TESTING_UTILS_INVARIANT_H
13 :
public Catch::MatcherBase<invariant_failedt>
18 std::string
describe()
const override;
ait supplies three of the four components needed: an abstract interpreter (in this case handling func...
A logic error, augmented with a distinguished field to hold a backtrace.
bool match(const invariant_failedt &exception) const override
std::string describe() const override
std::ostream & operator<<(std::ostream &out, const invariant_failedt &invariant_failed)
Printing of invariant_failedt for test failure messages.
invariant_failure_containingt invariant_failure_containing(std::string expected)
Returns a matcher which matches an invariant_failedt exception, where the .what() returns a string co...