()
| 436 | |
| 437 | #[test] |
| 438 | fn test_progress_bar_set_position() { |
| 439 | let bar = create_progress_bar(100, "Working..."); |
| 440 | set_position(&bar, 50); |
| 441 | assert_eq!(bar.position(), 50); |
| 442 | set_position(&bar, 75); |
| 443 | assert_eq!(bar.position(), 75); |
| 444 | bar.finish(); |
| 445 | } |
| 446 | |
| 447 | #[test] |
| 448 | fn test_set_message() { |
nothing calls this directly
no test coverage detected