import static org.junit.Assert.*; import org.junit.After; import org.junit.Before; import org.junit.Test; /** * The test class FizzBuzzGameTest. * * @author (your name) * @version (a version number or a date) */ public class FizzBuzzGameTest { /** * Default constructor for test class FizzBuzzGameTest */ @Test public void testThree(){ int input = 6; String expected = ("FIZZ!"); String actual = FizzBuzzGame.game(input); assertEquals(expected, actual); } @Test public void testFive(){ int input = 10; String expected = ("BUZZ!"); String actual = FizzBuzzGame.game(input); assertEquals(expected, actual); } @Test public void testOther(){ int input = 7; String expected = "7"; String actual = FizzBuzzGame.game(input); assertEquals(expected, actual); } @Test public void testThreeFive(){ int input = 30; String expected = ("FizzBuzz!!!"); String actual = FizzBuzzGame.game(input); assertEquals(expected, actual); } }