Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rename and provide reasonable number of iterations #29

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 8 additions & 9 deletions darkside-tests/src/chain_generic_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,20 +92,19 @@ impl ManageScenario for DarksideEnvironment {
async fn darkside_send_40_000_to_transparent() {
send_value_to_pool::<DarksideEnvironment>(40_000, Transparent).await;
}
#[tokio::test]
async fn darkside_send_40_000_to_sapling() {
send_value_to_pool::<DarksideEnvironment>(40_000, Shielded(Sapling)).await;
}
#[tokio::test]
async fn darkside_send_40_000_to_orchard() {
send_value_to_pool::<DarksideEnvironment>(40_000, Shielded(Orchard)).await;
}

proptest! {
#![proptest_config(proptest::test_runner::Config::with_cases(4))]
#[test]
fn darkside_send_pvalue_to_orchard(value in 0..90u32) {
fn send_pvalue_to_orchard(value in 0..90u32) {
Runtime::new().unwrap().block_on(async {
send_value_to_pool::<DarksideEnvironment>(value * 1_000, Shielded(Orchard)).await;
});
}
#[test]
fn send_pvalue_to_sapling(value in 0..90u32) {
Runtime::new().unwrap().block_on(async {
send_value_to_pool::<DarksideEnvironment>(value * 1_000, Shielded(Sapling)).await;
});
}
}
Loading