Module Import alias Import alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Num Num Num Num decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases body Assign NameStore Num Assign NameStore Num decorator_list Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num NameLoad Str Expr Call AttributeLoad NameLoad attr Num NameLoad Str Expr Call AttributeLoad NameLoad attr Num NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num Num Num Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num Num Num Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A unittest N/A pygame pyplatformerengine.utilities.ProximityManager ProximityManager TestProximityManager N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self entityRect N/A N/A pygame Rect 0 0 100 100 N/A testCanCalculateObjectRadiusAndCenterpoint N/A N/A self N/A N/A Tmp N/A N/A N/A iHeight 100 N/A iWidth 100 N/A N/A entity N/A Tmp N/A N/A entity rect N/A self entityRect N/A proximityManager N/A ProximityManager None N/A N/A radius x y N/A N/A proximityManager calculateObjectRadiusAndCenterpoint entity N/A N/A N/A self assertEqual 70 radius Should be the radius of the entity. N/A N/A N/A self assertEqual 50 x Should be half of the original N/A N/A N/A self assertEqual 50 y Should be half of the original N/A testCanReturnTrueIfObjectIsInProximity N/A N/A self N/A N/A N/A proximityManager N/A ProximityManager None N/A result N/A N/A proximityManager determineIfObjectsAreInVicinity 5 5 30 20 20 10 N/A N/A N/A self assertTrue result N/A testCanReturnFalseIfObjectIsInProximity N/A N/A self N/A N/A N/A proximityManager N/A ProximityManager None N/A result N/A N/A proximityManager determineIfObjectsAreInVicinity 5 5 30 70 70 10 N/A N/A N/A self assertFalse result N/A N/A