Exemplo n.º 1
0
        public void GetOutput_InputIsDivisibleBy5Only_ReturnBuzz()
        {
            var result = Exercise_Fizz_Buzz.GetOutput(5);

            Assert.That(result, Is.EqualTo("Buzz"));
        }
Exemplo n.º 2
0
        public void GetOutput_InputIsNotDivisibleBy3Or5_ReturnTheSameNumber()
        {
            var result = Exercise_Fizz_Buzz.GetOutput(1);

            Assert.That(result, Is.EqualTo("1"));
        }
Exemplo n.º 3
0
        public void GetOutput_InputIsDivisibleBy3And5_ReturnFizzBuzz()
        {
            var result = Exercise_Fizz_Buzz.GetOutput(15);

            Assert.That(result, Is.EqualTo("FizzBuzz"));
        }