예제 #1
0
        public void TextForNotDivisibleByThreeOrFiveIsItselfText()
        {
            var fb = new FizzBuzz();
            var text = fb.GetTextForNumber(1);

            Assert.That(text, Is.EqualTo("1"));
        }
예제 #2
0
 public void TextForDivisibleByThreeIsFizz()
 {
     var fb = new FizzBuzz();
     var text = fb.GetTextForNumber(3);
     Assert.That(text, Is.EqualTo("Fizz"));
 }