File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -8,28 +8,27 @@ use zcash_client_backend::PoolType::Transparent;
8
8
use zcash_client_backend:: ShieldedProtocol :: Orchard ;
9
9
use zcash_client_backend:: ShieldedProtocol :: Sapling ;
10
10
11
- use zingolib:: testutils:: chain_generics:: fixtures:: send_value_to_pool ;
11
+ use zingolib:: testutils:: chain_generics:: fixtures;
12
12
13
13
use crate :: utils:: scenarios:: DarksideEnvironment ;
14
14
15
15
#[ tokio:: test]
16
- #[ ignore] // darkside cant handle transparent?
17
- async fn send_40_000_to_transparent ( ) {
18
- send_value_to_pool :: < DarksideEnvironment > ( 40_000 , Transparent ) . await ;
16
+ async fn simpool_change_50_000_orchard_to_orchard ( ) {
17
+ fixtures:: shpool_to_pool :: < DarksideEnvironment > ( Orchard , Shielded ( Orchard ) , 50_000 ) . await ;
19
18
}
20
19
21
20
proptest ! {
22
21
#![ proptest_config( proptest:: test_runner:: Config :: with_cases( 4 ) ) ]
23
22
#[ test]
24
23
fn send_pvalue_to_orchard( value in 0 ..90u64 ) {
25
24
Runtime :: new( ) . unwrap( ) . block_on( async {
26
- send_value_to_pool:: <DarksideEnvironment >( value * 1_000 , Shielded ( Orchard ) ) . await ;
25
+ fixtures :: send_value_to_pool:: <DarksideEnvironment >( value * 1_000 , Shielded ( Orchard ) ) . await ;
27
26
} ) ;
28
27
}
29
28
#[ test]
30
29
fn send_pvalue_to_sapling( value in 0 ..90u64 ) {
31
30
Runtime :: new( ) . unwrap( ) . block_on( async {
32
- send_value_to_pool:: <DarksideEnvironment >( value * 1_000 , Shielded ( Sapling ) ) . await ;
31
+ fixtures :: send_value_to_pool:: <DarksideEnvironment >( value * 1_000 , Shielded ( Sapling ) ) . await ;
33
32
} ) ;
34
33
}
35
34
}
You can’t perform that action at this time.
0 commit comments