GT RoboCup SSL
Soccer software, robot firmware
test_opponent.TestOpponent Class Reference

Public Member Functions

def __init__ (self, args, kwargs)
 
def setUp (self)
 
def get_closest_opponent (self, x, y, directional_weight=0, excluded_robots=[])
 
def num_on_offense (self)
 
def set_bot_pos (self, a_bot, x, y)
 
def set_bots_pos (self, bot_arr, x, y)
 
def test_num_on_offense_one_bot (self)
 
def test_num_on_offense_multiple_bots_and_ball (self)
 
def test_get_closest_opponent_one_bot (self)
 
def test_get_closest_opponent_two_bots (self)
 
def test_get_closest_opponent_our_bot_and_exclusion (self)
 
def test_get_closest_opponent_dir_weight (self)
 

Public Attributes

 context
 
 length
 
 width
 
 botRadius
 
 center_y
 
 right_side
 
 left_side
 
 their_robots
 
 our_robots
 
 ball
 
+ Inheritance diagram for test_opponent.TestOpponent:
+ Collaboration diagram for test_opponent.TestOpponent:

The documentation for this class was generated from the following file: