()
| 457 | |
| 458 | #[test] |
| 459 | fn test_progress_bar_set_position() { |
| 460 | let bar = create_progress_bar(100, "Working..."); |
| 461 | set_position(&bar, 50); |
| 462 | assert_eq!(bar.position(), 50); |
| 463 | set_position(&bar, 75); |
| 464 | assert_eq!(bar.position(), 75); |
| 465 | bar.finish(); |
| 466 | } |
| 467 | |
| 468 | #[test] |
| 469 | fn test_set_message() { |
nothing calls this directly
no test coverage detected