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

Function test_internal_vertex_creation

atomic-core/src/apply/insertion.rs:386–393  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

384
385 #[test]
386 fn test_internal_vertex_creation() {
387 let change = NodeId::new(42);
388 let node = make_internal_vertex(change, 10, 20);
389
390 assert_eq!(node.change, change);
391 assert_eq!(node.start, ChangePosition::new(10));
392 assert_eq!(node.end, ChangePosition::new(20));
393 }
394
395 #[test]
396 fn test_vertex_positions() {

Callers

nothing calls this directly

Calls 1

make_internal_vertexFunction · 0.70

Tested by

no test coverage detected