Exemplo n.º 1
0
        public void IntegerNotDivisibleByThreeOrFiveReturnsItselfTest()
        {
            FizzBuzz fb = new FizzBuzz();

            string integerWord = fb.GenerateString(11);

            Assert.That(integerWord, Is.EqualTo("11"));
        }
Exemplo n.º 2
0
        public void IntegerDivisibleByThreeReturnsFizzTest()
        {
            FizzBuzz fb = new FizzBuzz();

            string integerWord = fb.GenerateString(3);

            Assert.That(integerWord, Is.EqualTo("Fizz"));
        }