We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fa558f commit 7106dc8Copy full SHA for 7106dc8
relations/src/r1cs/constraint_system.rs
@@ -1071,7 +1071,7 @@ mod tests {
1071
cs.enforce_constraint(lc!() + Variable::One, lc!() + e, lc!() + e)?;
1072
1073
cs.finalize();
1074
- assert!(cs.is_satisfied().is_ok());
+ assert!(cs.is_satisfied().unwrap());
1075
let matrices = cs.to_matrices().unwrap();
1076
assert_eq!(matrices.a[0], vec![(Fr::one(), 1)]);
1077
assert_eq!(matrices.b[0], vec![(two, 2)]);
@@ -1129,7 +1129,7 @@ mod tests {
1129
)?;
1130
1131
1132
1133
1134
// There are four gates(constraints), each generating a row.
1135
// Resulting matrices:
0 commit comments