Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ roundtrip_empty
Function
roundtrip_empty
nodedb-fts/src/codec/bitpack.rs:151–154 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
149
150
#[test]
151
fn roundtrip_empty() {
152
let packed = pack(&[]);
153
assert_eq!(unpack(&packed), Vec::<u32>::new());
154
}
155
156
#[test]
157
fn roundtrip_single() {
Callers
nothing calls this directly
Calls
1
pack
Function · 0.85
Tested by
no test coverage detected