Skip to content

Commit

Permalink
simulation test pub
Browse files Browse the repository at this point in the history
  • Loading branch information
weikengchen committed Jul 11, 2024
1 parent 5b5d78d commit 05b177c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ once_cell = "1.19.0"
anyhow = "1.0.86"
hex = "0.4.3"
bitcoin-scriptexec = { git = "https://github.com/Bitcoin-Wildlife-Sanctuary/rust-bitcoin-scriptexec", features = ["debug"] }

[dev-dependencies]
bitcoin-simulator = { git = "https://github.com/Bitcoin-Wildlife-Sanctuary/bitcoin-simulator" }

[profile.dev]
Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ pub mod utils;
pub mod bitcoin_script;

/// Test module
#[cfg(test)]
pub mod test;

/// The dust amount for a P2WSH transaction.
Expand Down
1 change: 1 addition & 0 deletions src/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ use rand_chacha::ChaCha20Rng;
use std::cell::RefCell;
use std::rc::Rc;

/// Run simulation test.
pub fn simulation_test<T: CovenantProgram>(
test_generator: &mut impl FnMut(&T::State) -> (usize, T::Input),
) {
Expand Down

0 comments on commit 05b177c

Please sign in to comment.