MCPcopy Index your code
hub / github.com/battlecode/battlecode-2018 / test_controller

Function test_controller

bindings/python/test/engine_test.py:20–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18 assert locne.y == 3, locne.y
19
20def test_controller():
21 c = bc.GameController.new_manager(bc.GameMap.test_map())
22 print(c.start_game(bc.Player(bc.Team.Red, bc.Planet.Earth)).to_json())

Callers

nothing calls this directly

Calls 3

new_managerMethod · 0.80
test_mapMethod · 0.80
start_gameMethod · 0.45

Tested by

no test coverage detected