Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ test_root_vertex
Function
test_root_vertex
atomic-core/src/apply/position.rs:433–437 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
431
432
#[test]
433
fn test_root_vertex() {
434
let root = GraphNode::<NodeId>::root();
435
assert!(root.is_root());
436
assert!(root.is_empty());
437
}
438
439
#[test]
440
fn test_non_root_node_id() {
Callers
nothing calls this directly
Calls
1
root
Function · 0.85
Tested by
no test coverage detected