Borrow integrated shrinking approach from MiniThesis.

This commit is contained in:
KtorZ
2024-02-26 21:59:23 +01:00
parent 3762473a60
commit a703db4d14
8 changed files with 773 additions and 305 deletions

View File

@@ -40,7 +40,7 @@ impl EvalResult {
} else {
self.result.is_err()
|| matches!(self.result, Ok(Term::Error))
|| matches!(self.result, Ok(Term::Constant(ref con)) if matches!(con.as_ref(), Constant::Bool(false)))
|| !matches!(self.result, Ok(Term::Constant(ref con)) if matches!(con.as_ref(), Constant::Bool(true)))
}
}