Skip to content

Commit

Permalink
dummy: simplify test
Browse files Browse the repository at this point in the history
  • Loading branch information
Aurélien Nicolas committed Nov 7, 2024
1 parent 161a7eb commit f28b107
Showing 1 changed file with 2 additions and 26 deletions.
28 changes: 2 additions & 26 deletions ceno_zkvm/src/instructions/riscv/dummy/test.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
use ceno_emul::{Change, InsnKind, StepRecord, encode_rv32};
use goldilocks::GoldilocksExt2;
use itertools::Itertools;
use multilinear_extensions::mle::IntoMLEs;

use super::*;
use crate::{
Expand Down Expand Up @@ -45,18 +43,7 @@ fn test_dummy_r() {
])
.unwrap();

MockProver::assert_satisfied(
&cb,
&raw_witin
.de_interleaving()
.into_mles()
.into_iter()
.map(Into::into)
.collect_vec(),
&[insn_code],
None,
Some(lkm),
);
MockProver::assert_satisfied_raw(&cb, raw_witin, &[insn_code], None, Some(lkm));
}

#[test]
Expand Down Expand Up @@ -87,16 +74,5 @@ fn test_dummy_b() {
])
.unwrap();

MockProver::assert_satisfied(
&cb,
&raw_witin
.de_interleaving()
.into_mles()
.into_iter()
.map(Into::into)
.collect_vec(),
&[insn_code],
None,
Some(lkm),
);
MockProver::assert_satisfied_raw(&cb, raw_witin, &[insn_code], None, Some(lkm));
}

0 comments on commit f28b107

Please sign in to comment.