View Javadoc

1   package cz.cuni.amis.pogamut.ut2004.bot.navigation;
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 UT2004Test221_CTFCitadel_JumpDown extends UT2004BotTest {
11  
12  	@Override
13  	protected String getMapName() {
14  		return "CTF-Citadel";
15  	}
16  
17  	@Override
18  	protected String getGameType() {
19  		return "BotDeathMatch";
20  	}
21  
22          @Test
23  	public void test221_jumpdown_1_time() {
24  		startTest(
25  			// use NavigationTestBot for the test
26  			NavigationTestBot.class,
27  			// timeout: 1 minute
28  			1,
29  			// test movement between        start: CTF-Citadel.InventorySpot178, end: CTF-Citadel.xRedFlagBase0 number of repetitions   both ways
30  			new NavigationTestBotParameters("CTF-Citadel.InventorySpot178",      "CTF-Citadel.xRedFlagBase0",    1,                        false)
31  		);
32  	}
33  
34          @Test
35  	public void test221_jumpdown_20_time() {
36  
37  
38  		startTest(
39  			// use NavigationTestBot for the test
40  			NavigationTestBot.class,
41  			// timeout: 10 minutes
42  			10,
43  			// test movement between        start: CTF-Citadel.InventorySpot178, end: CTF-Citadel.xRedFlagBase0 number of repetitions   both ways
44  			new NavigationTestBotParameters("CTF-Citadel.InventorySpot178",      "CTF-Citadel.xRedFlagBase0",    20,                        false)
45  		);
46  	}
47  
48  }