Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/wit-bindgen
/ testEmptyRoundtrip
Function
testEmptyRoundtrip
tests/runtime/map/runner.go:48–52 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
46
}
47
48
func
testEmptyRoundtrip() {
49
input := test.NamesById{}
50
result := test.EmptyRoundtrip(input)
51
assertEqual(len(result), 0)
52
}
53
54
func
testOptionRoundtrip() {
55
input :=
map
[string]Option[uint32]{
Callers
1
Run
Function · 0.85
Calls
1
assertEqual
Function · 0.70
Tested by
no test coverage detected