public class ProverEnvironmentSubject
extends com.google.common.truth.Subject
Subject subclass for testing assertions about ProverEnvironments with Truth (allows to
use assert_().about(...).that(stack).isUnsatisfiable() etc.).
For a test use SolverBasedTest0.assertThatEnvironment(BasicProverEnvironment), or
StandardSubjectBuilder.about(com.google.common.truth.Subject.Factory) and proverEnvironments().
| Modifier and Type | Method and Description |
|---|---|
static ProverEnvironmentSubject |
assertThat(BasicProverEnvironment<?> prover)
Use this for checking assertions about ProverEnvironments with Truth:
assertThat(stack).is...(). |
void |
isSatisfiable()
Check that the subject stack is satisfiable.
|
void |
isUnsatisfiable()
Check that the subject stack is unsatisfiable.
|
static com.google.common.truth.Subject.Factory<ProverEnvironmentSubject,BasicProverEnvironment<?>> |
proverEnvironments()
Use this for checking assertions about ProverEnvironments with Truth:
assert_().about(proverEnvironments()).that(stack).is...(). |
actualCustomStringRepresentation, check, equals, failWithActual, failWithActual, failWithoutActual, hashCode, ignoreCheck, isAnyOf, isEqualTo, isIn, isInstanceOf, isNoneOf, isNotEqualTo, isNotIn, isNotInstanceOf, isNotNull, isNotSameInstanceAs, isNull, isSameInstanceAs, toStringpublic static com.google.common.truth.Subject.Factory<ProverEnvironmentSubject,BasicProverEnvironment<?>> proverEnvironments()
assert_().about(proverEnvironments()).that(stack).is...().public static final ProverEnvironmentSubject assertThat(BasicProverEnvironment<?> prover)
assertThat(stack).is...().public void isUnsatisfiable()
throws SolverException,
InterruptedException
SolverExceptionInterruptedExceptionpublic void isSatisfiable()
throws SolverException,
InterruptedException
SolverExceptionInterruptedException