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 UT2004Test025_DMTokaraForest_NarrowRamp extends UT2004BotTest {
11  
12  	@Override
13  	protected String getMapName() {
14  		return "DM-TokaraForest";
15  	}
16  
17  	@Override
18  	protected String getGameType() {
19  		return "BotDeathMatch";
20  	}
21  
22          /**
23           * TODO: test fails
24           */
25          @Test
26  	public void test25_narrow_1_time() {
27  		startTest(
28  			// use NavigationTestBot for the test
29  			Navigation2TestBot.class,
30  			// timeout: 1 minute
31  			1,
32  			// test movement between        start: DM-TokaraForest.PlayerStart16, end: DM-TokaraForest.PlayerStart18 number of repetitions   both ways
33  			new Navigation2TestBotParameters("DM-TokaraForest.PlayerStart16",      "DM-TokaraForest.PlayerStart18",    1,                        true)
34  		);
35  	}
36  
37          /**
38           *
39           */
40          @Test
41  	public void test25_narrow_20_time() {
42  
43  
44  		startTest(
45  			// use NavigationTestBot for the test
46  			Navigation2TestBot.class,
47  			// timeout: 10 minutes
48  			10,
49  			// test movement between        start: DM-TokaraForest.PlayerStart16, end: DM-TokaraForest.PlayerStart18 number of repetitions   both ways
50  			new Navigation2TestBotParameters("DM-TokaraForest.PlayerStart16",      "DM-TokaraForest.PlayerStart18",    20,                        true)
51  		);
52  	} 
53  
54  }