nagi/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub fn hello() -> String {
    "By Talos this can't be happening!".into()
}

#[cfg(test)]
mod tests {
    use super::*;

    #[test]
    fn say_hello() {
        let text = hello();
        assert_eq!("By Talos this can't be happening!", text.as_str());
    }
}