public void EvaluateNumber_NumberIsDivisibleByThreeAndFive_FizzBuzzIsReturned() { var evaluator = new FizzBuzzEvaluator(); Assert.AreEqual("FizzBuzz", evaluator.EvaluateNumber(15)); }
public void EvaluateNumber_NumberIsNotDivisibleByThreeOrFive_NumberAsStringIsReturned() { var evaluator = new FizzBuzzEvaluator(); Assert.AreEqual("2", evaluator.EvaluateNumber(2)); }
public void EvaluateNumber_NumberIsThree_FizzIsReturned() { var evaluator = new FizzBuzzEvaluator(); Assert.AreEqual("Fizz", evaluator.EvaluateNumber(3)); }