mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-05-28 04:39:55 +00:00
PR fixes
This commit is contained in:
parent
8c008ce4fb
commit
b4258976b1
@ -231,11 +231,9 @@ mod tests {
|
|||||||
"The tree has too much or too little gates."
|
"The tree has too much or too little gates."
|
||||||
);
|
);
|
||||||
assert!(
|
assert!(
|
||||||
gates.iter().all(|g| gates_with_prefix
|
gates
|
||||||
.iter()
|
.iter()
|
||||||
.map(|(gg, _)| gg)
|
.all(|g| gates_with_prefix.iter().map(|(gg, _)| gg).any(|gg| gg == g)),
|
||||||
.find(|gg| *gg == g)
|
|
||||||
.is_some()),
|
|
||||||
"Some gates are not in the tree."
|
"Some gates are not in the tree."
|
||||||
);
|
);
|
||||||
assert!(
|
assert!(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user