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

Function test_internal_vertex_creation

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

Source from the content-addressed store, hash-verified

463
464 #[test]
465 fn test_internal_vertex_creation() {
466 let change = NodeId::new(42);
467 let node = make_internal_vertex(change, 10, 20);
468
469 assert_eq!(node.change, change);
470 assert_eq!(node.start, ChangePosition::new(10));
471 assert_eq!(node.end, ChangePosition::new(20));
472 }
473
474 #[test]
475 fn test_vertex_positions() {

Callers

nothing calls this directly

Calls 1

make_internal_vertexFunction · 0.70

Tested by

no test coverage detected