()
| 319 | |
| 320 | #[test] |
| 321 | fn test_diff_hunk_new() { |
| 322 | let graph_op = DiffHunk::new(1, 5, 1, 6); |
| 323 | assert_eq!(graph_op.old_start, 1); |
| 324 | assert_eq!(graph_op.old_count, 5); |
| 325 | assert_eq!(graph_op.new_start, 1); |
| 326 | assert_eq!(graph_op.new_count, 6); |
| 327 | assert!(graph_op.lines.is_empty()); |
| 328 | } |
| 329 | |
| 330 | #[test] |
| 331 | fn test_diff_hunk_add_line() { |
nothing calls this directly
no outgoing calls
no test coverage detected