public void GivenInputIsSevenReturnSeven() { //given i have the number 7 int i = 7; //when i pass in the number to the fizz buzz converter IFizzBuzzCalculator iFizzBuzzCalculator = new FizzBuzzCalculator(); string result = iFizzBuzzCalculator.Calcuate(i); //then i get back 7 Assert.AreEqual("7", result); }
public void GivenInputIsSixReturnFizz() { //given i have the number 6 int i = 6; //when i pass in the number to the fizz buzz converter IFizzBuzzCalculator iFizzBuzzCalculator = new FizzBuzzCalculator(); string result = iFizzBuzzCalculator.Calcuate(i); //then i get back fizz Assert.AreEqual("Fizz", result); }
public void GivenInputIsFourReturnFour() { //given i have the number 4 int i = 4; //when i pass in the number to the fizz buzz converter IFizzBuzzCalculator iFizzBuzzCalculator = new FizzBuzzCalculator(); string result = iFizzBuzzCalculator.Calcuate(i); //then i get back 4 Assert.AreEqual("4", result); }
public void GivenInputIsTwoReturnTwo() { //given i have the number 2 int i = 2; //when i pass in the number to the fizz buzz converter IFizzBuzzCalculator iFizzBuzzCalculator = new FizzBuzzCalculator(); string result = iFizzBuzzCalculator.Calcuate(i); //then i get back 2 Assert.AreEqual("2", result); }
public void GivenInputIsOneReturnOne() { //given i have the number 1 int i = 1; //when i pass in the number to the fizz buzz converter IFizzBuzzCalculator iFizzBuzzCalculator = new FizzBuzzCalculator(); string result = iFizzBuzzCalculator.Calcuate(i); //then i get back 1 Assert.AreEqual("1", result); }