Macro sewup_derive::ewasm_assert_eq [−][src]
ewasm_assert_eq!() { /* proc-macro */ }
Expand description
helps you assert output from the handle of a contract with Vec<u8>
.
ⓘ
#[ewasm_test] mod tests { use super::*; #[ewasm_test] fn test_execute_basic_operations() { ewasm_assert_eq!(handler_fn(), vec![74, 111, 118, 121]); } }