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

Function test_atom_is_edge_map

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

Source from the content-addressed store, hash-verified

502
503 #[test]
504 fn test_atom_is_edge_map() {
505 let atom: Atom<Hash> = Atom::EdgeUpdate(EdgeUpdate {
506 edges: vec![],
507 inode: test_hash_position(0),
508 });
509
510 assert!(atom.is_edge_map());
511 assert!(!atom.is_new_vertex());
512 }
513
514 #[test]
515 fn test_atom_as_new_vertex() {

Callers

nothing calls this directly

Calls 2

EdgeUpdateClass · 0.85
test_hash_positionFunction · 0.70

Tested by

no test coverage detected