public void returnFizzBuzzforBoth() { //arranage double a = 15; String expected = "fizzbuzz"; FizzBuzzCode fizzbuzz = new FizzBuzzCode(a); String actual = fizzbuzz.getText(); Assert.AreEqual(expected, actual); }
public void returnNeither() { //arranage double a = 22; String expected = "neither"; FizzBuzzCode fizzbuzz = new FizzBuzzCode(a); String actual = fizzbuzz.getText(); Assert.AreEqual(expected, actual); }
public void returnBuzzforMultipleOfFive() { //arranage double a = 5; String expected = "buzz"; FizzBuzzCode fizzbuzz = new FizzBuzzCode(a); String actual = fizzbuzz.getText(); Assert.AreEqual(expected, actual); }