mirror of
https://github.com/Y2Z/monolith
synced 2024-11-17 03:25:39 +00:00
32 lines
1.3 KiB
Rust
32 lines
1.3 KiB
Rust
|
// ██████╗ █████╗ ███████╗███████╗██╗███╗ ██╗ ██████╗
|
||
|
// ██╔══██╗██╔══██╗██╔════╝██╔════╝██║████╗ ██║██╔════╝
|
||
|
// ██████╔╝███████║███████╗███████╗██║██╔██╗ ██║██║ ███╗
|
||
|
// ██╔═══╝ ██╔══██║╚════██║╚════██║██║██║╚██╗██║██║ ██║
|
||
|
// ██║ ██║ ██║███████║███████║██║██║ ╚████║╚██████╔╝
|
||
|
// ╚═╝ ╚═╝ ╚═╝╚══════╝╚══════╝╚═╝╚═╝ ╚═══╝ ╚═════╝
|
||
|
|
||
|
#[cfg(test)]
|
||
|
mod passing {
|
||
|
use crate::utils;
|
||
|
|
||
|
#[test]
|
||
|
fn zero() {
|
||
|
assert_eq!(utils::indent(0), "");
|
||
|
}
|
||
|
|
||
|
#[test]
|
||
|
fn one() {
|
||
|
assert_eq!(utils::indent(1), " ");
|
||
|
}
|
||
|
|
||
|
#[test]
|
||
|
fn two() {
|
||
|
assert_eq!(utils::indent(2), " ");
|
||
|
}
|
||
|
|
||
|
#[test]
|
||
|
fn three() {
|
||
|
assert_eq!(utils::indent(3), " ");
|
||
|
}
|
||
|
}
|