nl.tudelft.goal.ut3.environment
Class SelfPerceptTests

Package class diagram package SelfPerceptTests
java.lang.Object
  extended by nl.tudelft.goal.ut3.environment.AbstractEnvironmentTests
      extended by nl.tudelft.goal.ut3.environment.SelfPerceptTests

public class SelfPerceptTests
extends AbstractEnvironmentTests

Test for all the UT3 self percepts.

Author:
Evers

Field Summary
 
Fields inherited from class nl.tudelft.goal.ut3.environment.AbstractEnvironmentTests
actionHandlers, agents, BOT_NAME, BOT_TEAM, MAP_NAME, perceptHandlers, runner, startupPercepts, testBot
 
Constructor Summary
SelfPerceptTests()
           
 
Method Summary
 void currentWeaponTest()
          Check the currentWeapon percept.
 void orientationStandStillTest()
          Check the orientation percept of the bot while not moving.
 void scoreTest()
          Check the score percept.
 void selfTest()
          Check the self-percept.
 void statusTest()
          Check the status percept.
 void testSuicideAttempt()
          Test ammo and health while shooting itself.
 void weaponTest()
          Check the weapon percept.
 
Methods inherited from class nl.tudelft.goal.ut3.environment.AbstractEnvironmentTests
getPercepts, setUpClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelfPerceptTests

public SelfPerceptTests()
Method Detail

selfTest

public void selfTest()
Check the self-percept.


orientationStandStillTest

public void orientationStandStillTest()
Check the orientation percept of the bot while not moving. The percepts are wrong if the location equals position 0.0,0.0,0.0.


statusTest

public void statusTest()
Check the status percept.


scoreTest

public void scoreTest()
Check the score percept.


currentWeaponTest

public void currentWeaponTest()
Check the currentWeapon percept.


weaponTest

public void weaponTest()
Check the weapon percept.


testSuicideAttempt

public void testSuicideAttempt()
                        throws InterruptedException
Test ammo and health while shooting itself.

Throws:
InterruptedException


Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.