Sign in
android
/
toolchain
/
cargo-deny
/
HEAD
/
.
/
android
/
vendor
/
wasm-bindgen-0.2.92
/
tests
/
headless
/
modules.rs
blob: 9e894f340fd1809e299993cff52d4637e6a2eda1 [
file
] [
log
] [
blame
]
use
wasm_bindgen
::
prelude
::*;
use
wasm_bindgen_test
::*;
#[
wasm_bindgen
(
raw_module
=
"./tests/headless/modules.js"
)]
extern
"C"
{
fn
get_five
()
->
u32
;
}
#[
wasm_bindgen_test
]
fn
test_get_five
()
{
assert_eq
!(
get_five
(),
5
);
}