Exemple #1
0
        public void PrintFizzBuzzForMultiplesOfThreeAndFive(int number)
        {
            var result = FizzBuzzDetector.IdentifyFizzBuzz(number);

            result.ShouldBe("FizzBuzz");
        }
Exemple #2
0
        public void PrintNumbers(int number, string expectedResult)
        {
            var result = FizzBuzzDetector.IdentifyFizzBuzz(number);

            result.ShouldBe(expectedResult);
        }