import static org.junit.Assert.*; import org.junit.After; import org.junit.Before; import org.junit.Test; /** * The test class MemoryTest. * * @author (your name) * @version (a version number or a date) */ public class MemoryTest { /** * Default constructor for test class MemoryTest */ public MemoryTest() { } /** * Sets up the test fixture. * * Called before every test case method. */ @Before public void setUp() { } /** * Tears down the test fixture. * * Called after every test case method. */ @After public void tearDown() { } @Test public void memoryTest1() { Memory.addMemory(100); } @Test public void memoryTest2() { assertEquals(0.0, Memory.resetMemory(), 0.1); } @Test public void MemoryTest3() { assertEquals(0.0, Memory.recallMemory(), 0.1); } }