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

Function test_order_conflict_new

atomic-core/src/apply/conflict.rs:592–599  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

590
591 #[test]
592 fn test_order_conflict_new() {
593 let pos = make_position(42, 100);
594 let conflict = OrderConflict::new(pos);
595
596 assert_eq!(conflict.position, pos);
597 assert!(conflict.vertices.is_empty());
598 assert!(conflict.changes.is_empty());
599 }
600
601 #[test]
602 fn test_order_conflict_add_insertion() {

Callers

nothing calls this directly

Calls 1

make_positionFunction · 0.70

Tested by

no test coverage detected