()
| 426 | |
| 427 | #[test] |
| 428 | fn test_progress_bar_increment() { |
| 429 | let bar = create_progress_bar(100, "Working..."); |
| 430 | bar.inc(1); |
| 431 | assert_eq!(bar.position(), 1); |
| 432 | bar.inc(5); |
| 433 | assert_eq!(bar.position(), 6); |
| 434 | bar.finish(); |
| 435 | } |
| 436 | |
| 437 | #[test] |
| 438 | fn test_progress_bar_set_position() { |
nothing calls this directly
no test coverage detected