- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestWasmImport (0.18 sec)
-
src/syscall/js/js_test.go
Infinity: Infinity, NegInfinity: -Infinity, objNumber0: new Number(0), objBooleanFalse: new Boolean(false), })`) //go:wasmimport _gotest add func testAdd(uint32, uint32) uint32 func TestWasmImport(t *testing.T) { a := uint32(3) b := uint32(5) want := a + b if got := testAdd(a, b); got != want { t.Errorf("got %v, want %v", got, want) } } func TestBool(t *testing.T) { want := true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 19 14:35:26 UTC 2024 - 17.7K bytes - Viewed (0)