ys_hello 0.0.4

A crate for testing publish
Documentation
// fn main() {
//     println!("Hello, world!");
//     println!("add result: {}", add(1, 2));
//     println!("hello result: {}", hello());
//     println!("hello result: {}", yunserHello::hello());
// }

pub fn hello() ->&'static str {
    return "hello-out";
}

// pub fn hello() -> i64 {
//     return 9999
// }

pub fn add(num1: i64, num2: i64) -> i64 {
    return num1 + num2
}

pub mod yunserHello {
    pub fn hello() ->&'static str {
        return "hello-in-mod";
    }
}

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

//     #[test]
//     #[should_panic(expected = "Guess value must be less than or equal to 100")]
//     fn greater_than_100() {
//         Guess::new(200);
//     }
// }



#[test]
fn test_1() {
    // let result = hello("Tom");
    assert!(add(1, 2) == 3)
}