arkworks backend
conditionally compile test using cfg(test)
@@ -77,6 +77,13 @@ fn compute_num_constraints(acir: &Circuit) -> usize {
num_gates
}
+#[cfg(test)]
+mod test {
+ use super::*;
+ use acir::circuit::{Gate, PublicInputs};
+ use acir::native_types::{Arithmetic, Witness};
+ use noir_field::FieldElement;
+
#[test]
fn simple_equal() {
let a = Witness(1);
@@ -103,3 +110,4 @@ fn simple_equal() {
assert!(ok)
}
+}
