static void Main(string[] args) { var printer = new FizzBuzzPrinter(); for (int i = 1; i <= 100; i++) { var result = printer.Translate(i); Console.WriteLine(result); } }
public void When_Translate_is_called_with_10_it_returns_Buzz() { var result = _sut.Translate(10); Assert.AreEqual("Buzz", result); }