Пример #1
0
 public void Multiples()
 {
     Assert.AreEqual("Fizz", FizzBuzzer.Eval(6));
     Assert.AreEqual("Buzz", FizzBuzzer.Eval(10));
 }
Пример #2
0
 public void Combined()
 {
     Assert.AreEqual("FizzBuzz", FizzBuzzer.Eval(15));
     Assert.AreEqual("FizzBuzz", FizzBuzzer.Eval(30));
 }
Пример #3
0
 public void Singles()
 {
     Assert.AreEqual("Fizz", FizzBuzzer.Eval(3));
     Assert.AreEqual("Buzz", FizzBuzzer.Eval(5));
 }