()
| 680 | |
| 681 | #[test] |
| 682 | fn test_add_hunk() { |
| 683 | let mut builder = RecordBuilder::new(); |
| 684 | |
| 685 | // Create a simple file add graph_op |
| 686 | let graph_op = create_test_file_add_hunk(); |
| 687 | let index = builder.add_hunk(graph_op); |
| 688 | |
| 689 | assert_eq!(index, 0); |
| 690 | assert_eq!(builder.hunk_count(), 1); |
| 691 | assert!(!builder.is_empty()); |
| 692 | } |
| 693 | |
| 694 | #[test] |
| 695 | fn test_add_multiple_hunks() { |
nothing calls this directly
no test coverage detected