MCPcopy Create free account
hub / github.com/bytecodealliance/wit-bindgen / test_empty_roundtrip

Function test_empty_roundtrip

tests/runtime/map/runner.rs:55–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53}
54
55fn test_empty_roundtrip() {
56 let empty = NamesById::new();
57 let result = empty_roundtrip(&empty);
58 assert!(result.is_empty());
59}
60
61fn test_option_roundtrip() {
62 let mut input = wit_bindgen::rt::Map::new();

Callers 1

runMethod · 0.70

Calls 1

newFunction · 0.85

Tested by

no test coverage detected