Function ink_env::test::run_test

source ·
pub fn run_test<T, F>(f: F) -> Result<()>where
    T: Environment,
    F: FnOnce(DefaultAccounts<T>) -> Result<()>,
    <T as Environment>::AccountId: From<[u8; 32]>,
Expand description

Runs the given closure test function with the default configuration for the off-chain environment.