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

Function test_edge_map_new

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

Source from the content-addressed store, hash-verified

684
685 #[test]
686 fn test_edge_map_new() {
687 let inode = test_hash_position(42);
688 let em = EdgeUpdate::<Hash>::new(inode);
689
690 assert!(em.is_empty());
691 assert_eq!(em.len(), 0);
692 assert_eq!(em.inode.pos, inode.pos);
693 }
694
695 #[test]
696 fn test_edge_map_push() {

Callers

nothing calls this directly

Calls 1

test_hash_positionFunction · 0.70

Tested by

no test coverage detected