trident-test 0.3.3

The trident_test crate helps you to write Rust tests for your programs with Trident.
Documentation
1
2
3
4
5
6
7
8
9
10
#[trident_test::trident_test]
async fn test_turnstile() {
    init_client().await?;
    let mut turnstile = Turnstile {
        locked: get_state_client().await?.locked
    };
    turnstile.coin().await?;
    turnstile.push_unlocked().await?;
    turnstile.push_locked().await?;
}