()
| 605 | |
| 606 | #[test] |
| 607 | fn test_progress_beyond_total() { |
| 608 | let bar = create_progress_bar(10, "Testing"); |
| 609 | for _ in 0..20 { |
| 610 | bar.inc(1); |
| 611 | } |
| 612 | // Should handle overflow gracefully |
| 613 | assert_eq!(bar.position(), 20); |
| 614 | bar.finish(); |
| 615 | } |
| 616 | } |
nothing calls this directly
no test coverage detected