1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
#[cfg(test)]
mod tests {
    #[test]
    fn it_works() {
        assert_eq!(2 + 2, 4);
    }

    #[test]
    fn kitchen_test()
    {
        let mut a = super::kitchen::Chef::new("Diogo Almeida".to_string(), 14);
        use super::kitchen::Ingredients;
        let my_ing = vec![Ingredients::Fish, Ingredients::Potato];
        let my_dish = a.make_dish(my_ing);

    }
}

mod kitchen;