tests.test_foundation package

Submodules

tests.test_foundation.test_engine module

class TestEngine(methodName='runTest')[source]

Bases: TestCase

Test the Engine class.

dh = None
setUp() None[source]

Set up the engine for the tests.

classmethod setUpClass()[source]

Set up the data handler for the tests.

tearDown() None[source]

Tear down the engine after the tests.

test_create_agent()[source]

Test the create_agent method with different agent types.

test_create_env()[source]

Test the create_env method with different env types.

test_create_world_agents()[source]

Test the create_world method with different agent types.

test_get_bins()[source]

Test the get_bins method.

test_train_agent()[source]

Test the train_agent method.

tests.test_foundation.test_utils module

class TestUtils(methodName='runTest')[source]

Bases: TestCase

Test the utils functions.

test_convert_to_list()[source]

Test convert_to_list function.

test_convert_to_string()[source]

Test convert_to_string function.

test_decay_param()[source]

Test decay_param function.

test_load_dataset()[source]

Test load_dataset function.

test_split_train_test()[source]

Test split_train_test function.

Module contents