MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_atom_from_edge_map

Function test_atom_from_edge_map

atomic-core/src/change/atom.rs:560–567  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

558
559 #[test]
560 fn test_atom_from_edge_map() {
561 let em = EdgeUpdate {
562 edges: vec![],
563 inode: test_hash_position(0),
564 };
565 let atom: Atom<Hash> = em.into();
566 assert!(atom.is_edge_map());
567 }
568
569 // Insertion Tests
570

Callers

nothing calls this directly

Calls 1

test_hash_positionFunction · 0.70

Tested by

no test coverage detected