Attribute Macro ark_api_macros::ark_test [−][src]
#[ark_test]
Expand description
Macro emulating the behavior of the standard #[test]
macro, but for module code compiled to
WebAssembly
. Such a test can then be executed with ark using ark module test
.
ⓘ
#[ark_test]
fn makes_a_sad() {
assert_eq!(1, 2, "me am gud in nummers");
}