/** * Class to test the methods in Player * * @author Devin Gray * @version January 29, 2016 */ public class PlayerTest extends junit.framework.TestCase { public void testPlayerNameTest() { Player player1 = new Player("John", 4, 10); assertEquals(0.4, player1.battingAverage(), 0.1); } }