rusty_ui/
lib.rs

1/// Prints "Hello rusty world!" to the console.
2pub fn hello_rusty_world() -> i32 {
3    let s = "Hello rusty world!";
4    println!("{}", s);
5    return 0;
6}
7
8#[cfg(test)]
9mod tests {
10    use super::*;
11
12    #[test]
13    fn test_hello_rusty_world() {
14        let result = hello_rusty_world();
15        assert_eq!(result, 0);
16    }
17}