extern crate intrepion_x_fizz_buzz; #[test] fn test_one_is_one() { assert_eq!("1", intrepion_x_fizz_buzz::fizz_buzz(1)); } #[test] fn test_two_is_two() { assert_eq!("2", intrepion_x_fizz_buzz::fizz_buzz(2)); } #[test] fn test_three_is_fizz() { assert_eq!("Fizz", intrepion_x_fizz_buzz::fizz_buzz(3)); } #[test] fn test_five_is_buzz() { assert_eq!("Buzz", intrepion_x_fizz_buzz::fizz_buzz(5)); } #[test] fn test_six_is_fizz() { assert_eq!("Fizz", intrepion_x_fizz_buzz::fizz_buzz(6)); } #[test] fn test_ten_is_buzz() { assert_eq!("Buzz", intrepion_x_fizz_buzz::fizz_buzz(10)); } #[test] fn test_fifteen_is_fizz_buzz() { assert_eq!("Fizz Buzz", intrepion_x_fizz_buzz::fizz_buzz(15)); } #[test] fn test_thirty_is_fizz_buzz() { assert_eq!("Fizz Buzz", intrepion_x_fizz_buzz::fizz_buzz(30)); }