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