public void WhenDivisibleByFive_ReturnsBuzz() { var fb = new FizzBuzz(); var response = fb.Answer(15); Assert.AreEqual(2, response.Count(r => r == "Buzz")); }
public void WhenDivisibleByThree_ReturnsFizz() { // arrange var fb = new FizzBuzz(); // act var response = fb.Answer(15); //assert Assert.AreEqual(4, response.Count(r => r == "Fizz")); }