my_basic_crate 0.1.0

A basic crate made by Carlos Gonzalez
Documentation
//! # My Crate
//!
//! `my_basic_crate` is a collection of utilities to make performing certain
//! calculations more convenient.

// pub mod kinds;
// pub mod mix;

pub mod kinds;
pub mod utils;

pub use kinds::{PrimaryColor, SecondaryColor};
pub use utils::mix;

/// Adds one to the number given.
///
/// # Examples
///
/// ```
/// let arg = 5;
/// let answer = my_crate::add_one(arg);
///
/// assert_eq!(6, answer);
/// ```
pub fn add(left: u64, right: u64) -> u64 {
    left + right
}

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

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