()
| 447 | |
| 448 | #[test] |
| 449 | fn test_progress_bar_increment() { |
| 450 | let bar = create_progress_bar(100, "Working..."); |
| 451 | bar.inc(1); |
| 452 | assert_eq!(bar.position(), 1); |
| 453 | bar.inc(5); |
| 454 | assert_eq!(bar.position(), 6); |
| 455 | bar.finish(); |
| 456 | } |
| 457 | |
| 458 | #[test] |
| 459 | fn test_progress_bar_set_position() { |
nothing calls this directly
no test coverage detected