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

Function test_new_vertex_max_values

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

Source from the content-addressed store, hash-verified

990
991 #[test]
992 fn test_new_vertex_max_values() {
993 let nv = Insertion {
994 predecessors: vec![],
995 successors: vec![],
996 flag: EdgeFlags::all(),
997 start: ChangePosition::new(u64::MAX - 1),
998 end: ChangePosition::new(u64::MAX),
999 inode: test_hash_position(u64::MAX),
1000 };
1001
1002 assert_eq!(nv.len(), 1);
1003 assert!(!nv.is_empty());
1004 }
1005
1006 #[test]
1007 fn test_edge_map_many_edges() {

Callers

nothing calls this directly

Calls 1

test_hash_positionFunction · 0.70

Tested by

no test coverage detected