()
| 640 | |
| 641 | #[test] |
| 642 | fn test_replacement_new() { |
| 643 | let r = Replacement::new(10, 2, 10, 3); |
| 644 | assert_eq!(r.old, 10); |
| 645 | assert_eq!(r.old_len, 2); |
| 646 | assert_eq!(r.new, 10); |
| 647 | assert_eq!(r.new_len, 3); |
| 648 | } |
| 649 | |
| 650 | #[test] |
| 651 | fn test_replacement_insert_only() { |
nothing calls this directly
no outgoing calls
no test coverage detected