Documentation
pub fn add(
    left: usize,
    right: usize,
) -> usize {
    left + right
}

#[cfg(test)]
mod tests {
    // equivalent to extern crate another_pkg as another;
    // since 2018 edition, you can use `use` to import external crates.
    // use another_pkg as another;

    use super::*;

    #[test]
    fn it_works() {
        let result = add(2, 2);
        assert_eq!(result, 4);
        // assert_eq!(result, another::add(2, 2));
    }
}