MCPcopy 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
48func testEmptyRoundtrip() {
49 input := test.NamesById{}
50 result := test.EmptyRoundtrip(input)
51 assertEqual(len(result), 0)
52}
53
54func testOptionRoundtrip() {
55 input := map[string]Option[uint32]{

Callers 1

RunFunction · 0.85

Calls 1

assertEqualFunction · 0.70

Tested by

no test coverage detected