Beispiel #1
0
        public void IntegerNotDivisibleByThreeOrFiveReturnsItselfTest()
        {
            FizzBuzz fb = new FizzBuzz();

            string integerWord = fb.GenerateString(11);

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

            string integerWord = fb.GenerateString(3);

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