package games.memory.difficulty;
import static org.junit.Assert.*;
import games.memory.Memory;
import games.memory.difficulty.Difficulty;
import games.memory.difficulty.EasyDifficulty;
import org.junit.Test;
/**
* Tests associated with EasyDifficulty
* @author Ian Keefer
*/
public class TestEasyDifficulty
{
/**
* tests the initilization of easy difficulty
*/
@Test
public void testInitilization()
{
Memory.reset();
Memory memory = Memory.getInstance();
Difficulty diff = new EasyDifficulty();
memory.setDifficulty(diff);
assertEquals(10, memory.getLives());
}
}