tests.unit_tests.integrations.dcbo.test_dcbo_utils#

Functions

test_base_dcbo_agent

Test to check that the default pair of action probabilities are created correctly.

test_dcbo_agent_with_initial_probabs

Test to check that when a pair of action probabilities are provided that sum to 1, they are created correctly.

test_init_dcbo_agent_assertion_error

Test to ensure that when two initial probability values that are either less than or greater than 1 raise AssertionError.

tests.unit_tests.integrations.dcbo.test_dcbo_utils.test_init_dcbo_agent_assertion_error(probabs)[source]#

Test to ensure that when two initial probability values that are either less than or greater than 1 raise AssertionError.

Parameters:

probabs – A pair of probability values

tests.unit_tests.integrations.dcbo.test_dcbo_utils.test_base_dcbo_agent()[source]#

Test to check that the default pair of action probabilities are created correctly.

tests.unit_tests.integrations.dcbo.test_dcbo_utils.test_dcbo_agent_with_initial_probabs(probabs)[source]#

Test to check that when a pair of action probabilities are provided that sum to 1, they are created correctly.

Parameters:

probabs – A pair of probability values that equal 1