def test_agent_get_observations_continuous(env_continuous):
    agent = agent_base.RandomAgent(env_continuous)
    assert agent.get_observations() == 2
def test_agent_continuous_actions(env_continuous):
    agent = agent_base.RandomAgent(env_continuous)
    assert not agent.discrete_actions
def test_agent_get_actions_discrete(env_discrete):
    agent = agent_base.RandomAgent(env_discrete)
    assert agent.get_actions() == 2
def test_agent_discrete_actions(env_discrete):
    agent = agent_base.RandomAgent(env_discrete)
    assert agent.discrete_actions