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