#![allow(dead_code)]
pub fn rule() -> String {
"─".repeat(72)
}
pub fn header(title: &str) -> String {
format!("{}\n {}\n{}", rule(), title, rule())
}
pub fn kv(key: &str, value: &str) -> String {
format!(" {key:<18} {value}")
}
pub fn tag(ok: bool) -> &'static str {
if ok {
"OK"
} else {
"FAIL"
}
}