#[allow(unused)]
pub mod logging;
#[allow(unused)]
pub mod file;
#[cfg(test)]
mod tests {
use crate::{file, logging::{log_line, log_line_header, logln, logln_color, Color}};
#[test]
fn test_logln() {
logln("This is a test log line.");
}
#[test]
fn test_logln_color() {
logln_color("This is a test log line in color.", Color::Red);
}
#[test]
fn test_log_line() {
log_line(30, Color::Blue);
}
#[test]
fn test_log_line_header() {
log_line_header("Header", 30, Color::Green);
}
#[test]
fn test_get_path_root() {
let path = file::get_path_root();
println!("Path root: {}", path);
}
}