tests.integration_tests.generic_env.test_reward_functions#

Tests the built-in reward functions.

Functions

test_punish_bad_actions

Tests the punish_bad_actions function.

test_safe_gives_rewards

Tests the safe_nodes_give reward function.

test_standard_rewards

Tests the standard reward function.

tests.integration_tests.generic_env.test_reward_functions.test_standard_rewards(create_yawning_titan_run)[source]#

Tests the standard reward function.

Will raise an error if the function does not return the expected result

tests.integration_tests.generic_env.test_reward_functions.test_safe_gives_rewards(create_yawning_titan_run)[source]#

Tests the safe_nodes_give reward function.

Will raise an error if the function does not return the expected result

tests.integration_tests.generic_env.test_reward_functions.test_punish_bad_actions(create_yawning_titan_run)[source]#

Tests the punish_bad_actions function.

Will raise an error if the function does not return the expected result