1 | package jpacman.model; |
2 | |
3 | import static org.junit.Assert.assertTrue; |
4 | |
5 | import org.junit.Before; |
6 | import org.junit.Test; |
7 | |
8 | |
9 | /** |
10 | * Systematic testing of the game state transitions. |
11 | * |
12 | * The test makes use of the simple map and its containing monsters |
13 | * and players, as defined in the GameTestCase. |
14 | * <p> |
15 | * |
16 | * @author Arie van Deursen; Aug 5, 2003 |
17 | * @version $Id: EngineTest.java,v 1.6 2008/02/04 23:00:12 arie Exp $ |
18 | */ |
19 | public class EngineTest extends GameTestCase { |
20 | |
21 | /** |
22 | * The engine that we'll push along every possible transition. |
23 | */ |
24 | private Engine theEngine; |
25 | |
26 | |
27 | /** |
28 | * Set up an Engine, making use of the Game object |
29 | * (with a small map containing all sorts of guests) |
30 | * created in the superclass. |
31 | */ |
32 | @Before public void setUp() { |
33 | theEngine = new Engine(theGame); |
34 | assertTrue(theEngine.inStartingState()); |
35 | } |
36 | |
37 | // Create state model test cases. |
38 | @Test public void addTestCasesHere() {} |
39 | |
40 | |
41 | } |