()
| 682 | |
| 683 | #[test] |
| 684 | fn test_replacement_display() { |
| 685 | assert_eq!(format!("{}", Replacement::insertion(5, 5, 3)), "+3@5"); |
| 686 | assert_eq!(format!("{}", Replacement::deletion(5, 2, 5)), "-2@5"); |
| 687 | assert_eq!(format!("{}", Replacement::new(5, 2, 5, 3)), "-2+3@5"); |
| 688 | } |
| 689 | |
| 690 | #[test] |
| 691 | fn test_diff_result_new() { |
nothing calls this directly
no outgoing calls
no test coverage detected