Beispiel #1
0
        public void MultiplesOfThreeReturnFizz()
        {
            var inputValue    = 3;
            var expectedReply = "Fizz";

            Assert.AreEqual(fizzBuzzCalculator.GetTheFizzBuzz(inputValue), expectedReply);
        }
Beispiel #2
0
        private static void WriteFizzBuzz()
        {
            FizzBuzzModel fizzBuzzCalculator = new FizzBuzzModel();

            for (int i = 0; i < 101; i++)
            {
                Console.WriteLine(fizzBuzzCalculator.GetTheFizzBuzz(i));
            }
        }