patriktest2 0.2.0

Test publishing a crate.
Documentation
pub fn add(n1: u32, n2: u32) -> u32 {
    n1 + n2
}

pub fn substract(n1: u32, n2: u32) -> u32 {
    n1 - n2
}

#[cfg(test)]
mod tests {
    use crate::{add, substract};

    #[test]
    fn add_works() {
        assert_eq!(add(1, 2), 3);
    }

    #[test]
    fn substract_works() {
        assert_eq!(substract(3, 2), 1);
    }
}