ligma 0.69.420

The Blazingly Fast (TM) full-stack experience to improve application performance.
Documentation
pub mod prelude {
    pub fn ligma(input: Option<&str>) -> String {
        const DEFAULT_INPUT: &'static str = "BALLZ";

        let input = input.unwrap_or(DEFAULT_INPUT).to_uppercase();

        return format!("LIGMA {}!", input);
    }
}

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

    #[test]
    fn default_ligma() {
        let res = ligma(None);
        assert_eq!(res.as_str(), "LIGMA BALLZ!");
    }

    #[test]
    fn custom_ligma() {
        let res = ligma(Some("pheet"));
        assert_eq!(res.as_str(), "LIGMA PHEET!");
    }
}