()
| 670 | |
| 671 | #[test] |
| 672 | fn test_graph_section_new() { |
| 673 | let payload = GraphSectionPayload::new("src/main.rs".to_string(), vec![], 0, 1024); |
| 674 | |
| 675 | assert_eq!(payload.path(), "src/main.rs"); |
| 676 | assert!(payload.ops().is_empty()); |
| 677 | assert_eq!(payload.op_count(), 0); |
| 678 | assert_eq!(payload.content_range(), 0..1024); |
| 679 | assert_eq!(payload.content_len(), 1024); |
| 680 | assert!(payload.has_content()); |
| 681 | assert!(payload.is_empty()); |
| 682 | } |
| 683 | |
| 684 | #[test] |
| 685 | fn test_graph_section_with_ops() { |
nothing calls this directly
no outgoing calls
no test coverage detected