Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ empty_input
Function
empty_input
nodedb-codec/src/fsst.rs:373–377 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
371
372
#[test]
373
fn empty_input() {
374
let encoded = encode(&[]);
375
let decoded = decode(&encoded).unwrap();
376
assert!(decoded.is_empty());
377
}
378
379
#[test]
380
fn single_string() {
Callers
nothing calls this directly
Calls
2
encode
Function · 0.70
decode
Function · 0.70
Tested by
no test coverage detected