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

Function test_vertex_range_validation

atomic-core/src/apply/position.rs:475–481  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

473
474 #[test]
475 fn test_vertex_range_validation() {
476 let hash = Hash::of(b"change");
477 let node = make_external_vertex(Some(hash), 10, 20);
478
479 // Verify start < end for valid span
480 assert!(node.start < node.end);
481 }
482
483 #[test]
484 fn test_empty_vertex() {

Callers

nothing calls this directly

Calls 1

make_external_vertexFunction · 0.70

Tested by

no test coverage detected