Skip to content

Commit

Permalink
test: add print_range_check_dot_graph
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiantf committed Feb 21, 2024
1 parent 95d63fe commit 73a060e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions zk_prover/src/chips/range/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -292,4 +292,17 @@ mod testing {
.render(9, &circuit, &root)
.unwrap();
}

#[cfg(feature = "dev-graph")]
#[test]
fn print_range_check_dot_graph() {
let circuit = TestCircuit::<4> {
a: Fp::from(0x1f2f3f4f),
b: Fp::from(1),
};

let dot_string = halo2_proofs::dev::circuit_dot_graph(&circuit);

print!("{}", dot_string);
}
}

0 comments on commit 73a060e

Please sign in to comment.