public void PrintTextForOneToFifteen() { var fb = new FizzBuzz(); var text = fb.Print(15); Assert.That(text, Is.EqualTo("1 2 Fizz 4 Buzz Fizz 7 8 Fizz Buzz 11 Fizz 13 14 FizzBuzz ")); }
public void ShouldPrintNumbersOneToTwo() { var fb = new FizzBuzz(); var text = fb.Print(2); Assert.That(text, Is.EqualTo("1 2 ")); }