reagent.gym.tests package

Submodules

reagent.gym.tests.test_gym module

reagent.gym.tests.test_gym_offline module

reagent.gym.tests.test_linear_dynamics module

class reagent.gym.tests.test_linear_dynamics.TestLinearDynamicsEnvironment(methodName='runTest')

Bases: unittest.case.TestCase

run_n_episodes(env, num_episodes, policy)
setUp()

Hook method for setting up the test fixture before exercising it.

test_random_vs_lqr()

Test random actions vs. a LQR controller. LQR controller should perform much better than random actions in the linear dynamics environment.

reagent.gym.tests.test_pomdp module

class reagent.gym.tests.test_pomdp.TestPOMDPEnvironment(methodName='runTest')

Bases: unittest.case.TestCase

setUp()

Hook method for setting up the test fixture before exercising it.

test_pocman()
test_string_game()

reagent.gym.tests.test_seq2reward_model module

reagent.gym.tests.test_world_model module

Module contents