public void IAmThisNumber_InvalidFizz_ReturnsFalse() { //arrange var fizz = new Fizz(); // act var answer = fizz.IAmThisNumber(11); //assert Assert.IsFalse(answer); }
public void IAmThisNumber_ValidFizz_ReturnsTrue() { // arrange var fizz = new Fizz(); // act var answer = fizz.IAmThisNumber(3); // assert Assert.AreEqual(CriteriaType.Fizz, fizz.CriteriaType); Assert.IsTrue(answer); }