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

Function test_replacement_true_replace

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

Source from the content-addressed store, hash-verified

667
668 #[test]
669 fn test_replacement_true_replace() {
670 let r = Replacement::new(5, 2, 5, 3);
671 assert!(!r.is_insert_only());
672 assert!(!r.is_delete_only());
673 assert!(r.is_true_replace());
674 assert!(!r.is_empty());
675 }
676
677 #[test]
678 fn test_replacement_empty() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected