use std::thread;
use std::time::Duration;
use zfish::{
log::Logger,
progress::ProgressBar,
style::{Color, Style},
};
#[test]
#[ignore]
fn test_combined_functionality() {
let logger = Logger::new();
logger.info("Starting integration test");
println!(
"{}",
Color::Green
.paint("Running integration test...")
.style(Style::Bold)
);
let mut pb = ProgressBar::new(10);
for i in 0..=10 {
pb.set(i);
thread::sleep(Duration::from_millis(100));
}
pb.finish(&format!("{}", Color::Green.paint("Progress complete!")));
logger.info("Integration test completed");
}