public void Numbers() { Assert.AreEqual("1", FizzBuzzer.Eval(1)); Assert.AreEqual("2", FizzBuzzer.Eval(2)); Assert.AreEqual("4", FizzBuzzer.Eval(4)); Assert.AreEqual("7", FizzBuzzer.Eval(7)); }
public void Combined() { Assert.AreEqual("FizzBuzz", FizzBuzzer.Eval(15)); Assert.AreEqual("FizzBuzz", FizzBuzzer.Eval(30)); }
public void Multiples() { Assert.AreEqual("Fizz", FizzBuzzer.Eval(6)); Assert.AreEqual("Buzz", FizzBuzzer.Eval(10)); }
public void Singles() { Assert.AreEqual("Fizz", FizzBuzzer.Eval(3)); Assert.AreEqual("Buzz", FizzBuzzer.Eval(5)); }