Skip to content

Commit

Permalink
Check multiplicities in mock prover (#2310)
Browse files Browse the repository at this point in the history
Check multiplicities in the mock prover:
- when checking a connection, we count the multiplicities on the caller
and callee
- if the connection is a PhantomLookup, this involves the multiplicity
column. In this case, the multiplicities are checked to match.
- otherwise, we count each callee tuple with multiplicity 1. In this
case, the multiplicities will probably not match, and that's ok, so we
do not check them to be equal.
  • Loading branch information
Schaeff authored Jan 13, 2025
1 parent 3eba5c4 commit f795d41
Show file tree
Hide file tree
Showing 2 changed files with 176 additions and 88 deletions.
1 change: 1 addition & 0 deletions backend/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ num-traits = "0.2.15"
num-integer = "0.1.45"
itertools = "0.13"
rand = "0.8.5"
derive_more = { version = "1.0.0", features = ["from", "display"] }

[dev-dependencies]
test-log = "0.2.12"
Expand Down
Loading

0 comments on commit f795d41

Please sign in to comment.