P4C
The P4 Compiler
Loading...
Searching...
No Matches
P4::P4Tools::Test::Z3SolverSatisfiabilityChecks Class Reference
Inheritance diagram for P4::P4Tools::Test::Z3SolverSatisfiabilityChecks:
[legend]

Public Member Functions

void testCheckSat (const ConstraintVector &expression, std::optional< bool > expectedResult)
 

Member Function Documentation

◆ testCheckSat()

void P4::P4Tools::Test::Z3SolverSatisfiabilityChecks::testCheckSat ( const ConstraintVector & expression,
std::optional< bool > expectedResult )
inline

Checks whether the result of the solver calculating

Parameters
expressionmatches
expectedResult.