def test_rollouts(self):
    ap = AgentPair(RandomAgent(), RandomAgent())
    trajs = self.agent_eval.evaluate_agent_pair(ap, num_games=5)
    try:
        AgentEvaluator.check_trajectories(trajs, verbose=False)
    except AssertionError as e:
        self.fail('Trajectories were not returned in standard format:\n{}'.format(e))
def test_rollouts(self):
    ap = AgentPair(RandomAgent(), RandomAgent())
    trajs = self.agent_eval.evaluate_agent_pair(ap, num_games=5)
    try:
        AgentEvaluator.check_trajectories(trajs, verbose=False)
    except AssertionError as e:
        self.fail('Trajectories were not returned in standard format:\n{}'.format(e))