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

Function test_replacement_delete_only

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

Source from the content-addressed store, hash-verified

658
659 #[test]
660 fn test_replacement_delete_only() {
661 let r = Replacement::deletion(5, 3, 5);
662 assert!(!r.is_insert_only());
663 assert!(r.is_delete_only());
664 assert!(!r.is_true_replace());
665 assert!(!r.is_empty());
666 }
667
668 #[test]
669 fn test_replacement_true_replace() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected