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

Function test_replacement_insert_only

atomic-core/src/diff/ops.rs:651–657  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

649
650 #[test]
651 fn test_replacement_insert_only() {
652 let r = Replacement::insertion(5, 5, 3);
653 assert!(r.is_insert_only());
654 assert!(!r.is_delete_only());
655 assert!(!r.is_true_replace());
656 assert!(!r.is_empty());
657 }
658
659 #[test]
660 fn test_replacement_delete_only() {

Callers

nothing calls this directly

Calls 1

insertionFunction · 0.50

Tested by

no test coverage detected