Function ink_env::test::run_test [−][src]
pub fn run_test<T, F>(f: F) -> Result<()> where
T: Environment,
F: FnOnce(DefaultAccounts<T>) -> Result<()>,
<T as Environment>::AccountId: From<[u8; 32]>,
Runs the given closure test function with the default configuartion for the off-chain environment.