MCPcopy Create free account
hub / github.com/nodejs/node / assertWasm

Function assertWasm

deps/v8/test/mjsunit/wasm/asm-wasm-imports.js:13–18  ·  view source on GitHub ↗
(expected, func, ffi)

Source from the content-addressed store, hash-verified

11}
12
13function assertWasm(expected, func, ffi) {
14 print("Testing " + func.name + "...");
15 assertEquals(
16 expected, func(stdlib, ffi, new ArrayBuffer(1024)).caller());
17 assertValidAsm(func);
18}
19
20
21function TestForeignFunctions() {

Callers 1

Calls 4

funcFunction · 0.70
assertValidAsmFunction · 0.70
printFunction · 0.50
assertEqualsFunction · 0.50

Tested by

no test coverage detected