View Javadoc

1   package cz.cuni.amis.pogamut.ut2004.bot.navigation2;
2   
3   import cz.cuni.amis.pogamut.ut2004.bot.UT2004BotTest;
4   import org.junit.Test;
5   
6   /**
7    * 
8    * @author Peta Michalik
9    */
10  public class UT2004Test188_DM1on1Albatross_Jump extends UT2004BotTest {
11  
12  	@Override
13  	protected String getMapName() {
14  		return "DM-1on1-Albatross";
15  	}
16  
17  	@Override
18  	protected String getGameType() {
19  		return "BotDeathMatch";
20  	}
21  
22  	@Test
23  	public void test188_jump_1_time() {
24  		startTest(
25  		// use NavigationTestBot for the test
26  				Navigation2TestBot.class,
27  				// timeout: 1 minute
28  				1,
29  				// test movement between start: DM-1on1-Albatross.PathNode21,
30  				// end: DM-1on1-Albatross.InventorySpot333 number of repetitions
31  				// both ways
32  				new Navigation2TestBotParameters("DM-1on1-Albatross.PathNode21",
33  						"DM-1on1-Albatross.InventorySpot333", 1, false));
34  	}
35  
36  	/*
37  	 * TODO: Test fails
38  	 */
39  	@Test
40  	public void test188_jump_20_time() {
41  
42  		startTest(
43  		// use NavigationTestBot for the test
44  				Navigation2TestBot.class,
45  				// timeout: 3 minutes
46  				3,
47  				// test movement between start: DM-1on1-Albatross.PathNode21,
48  				// end: DM-1on1-Albatross.InventorySpot333 number of repetitions
49  				// both ways
50  				new Navigation2TestBotParameters("DM-1on1-Albatross.PathNode21",
51  						"DM-1on1-Albatross.InventorySpot333", 20, false));
52  	}
53  
54  }