()
| 626 | |
| 627 | #[test] |
| 628 | fn test_stats_display() { |
| 629 | let stats = ProvenanceStats { |
| 630 | goal_count: 1, |
| 631 | commitment_count: 2, |
| 632 | edge_count: 3, |
| 633 | ..Default::default() |
| 634 | }; |
| 635 | |
| 636 | let display = format!("{}", stats); |
| 637 | assert!(display.contains("1 goal")); |
| 638 | assert!(display.contains("2 commitments")); |
| 639 | assert!(display.contains("3 edges")); |
| 640 | } |
| 641 | |
| 642 | #[test] |
| 643 | fn test_stats_display_empty() { |
nothing calls this directly
no outgoing calls
no test coverage detected