예제 #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));
 }