Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
55
fn test_empty_roundtrip() {
56
let empty = NamesById::new();
57
let result = empty_roundtrip(&empty);
58
assert!(result.is_empty());
59
}
60
61
fn test_option_roundtrip() {
62
let mut input = wit_bindgen::rt::Map::new();
Callers
1
run
Method · 0.70
Calls
1
new
Function · 0.85
Tested by
no test coverage detected