mirror of
https://github.com/Z3Prover/z3
synced 2026-03-20 11:55:49 +00:00
Address code review: clarify add_lower/upper_int_bound return semantics; fix test assertion
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
parent
47f9be0270
commit
57ede4cdcd
2 changed files with 9 additions and 5 deletions
|
|
@ -3477,7 +3477,7 @@ static void test_assert_root_constraints_once() {
|
|||
// we can verify the count is stable between iterations by checking
|
||||
// that the same constraints weren't added multiple times.
|
||||
// The simplest check: count > 0 (constraints were asserted)
|
||||
SASSERT(count_first >= 0); // at least some constraints asserted
|
||||
SASSERT(count_first > 0); // x=y produces at least len(x)=len(y) and non-neg constraints
|
||||
std::cout << " asserted " << count_first << " constraints total during solve\n";
|
||||
std::cout << " ok\n";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue