oefs/lib.rs
1/// Returns the project's tagline.
2pub fn get_tagline() -> String {
3 "Over-Engineered For Survival".to_string()
4}
5
6/// Prints the project's tagline.
7pub fn print_tagline() {
8 let tagline = get_tagline();
9 println!("{}", tagline);
10}
11
12#[cfg(test)]
13mod tests {
14 use super::*;
15
16 #[test]
17 fn test_tagline() {
18 let expected = "Over-Engineered For Survival";
19 let actual = get_tagline();
20 assert_eq!(expected, actual);
21 }
22}