uo.tests.unit.algorithm.metaheuristic.electro_magnetism_like_metaheuristic package
Submodules
uo.tests.unit.algorithm.metaheuristic.electro_magnetism_like_metaheuristic.test_em_optimizer module
- class uo.tests.unit.algorithm.metaheuristic.electro_magnetism_like_metaheuristic.test_em_optimizer.TestEmOptimizerGenerational(methodName='runTest')
Bases:
TestCase
- test_additional_statistics_control_type_error()
- test_copy()
- test_em_attraction_support_parameter_type_error()
- test_em_direction_support_getter()
- test_em_direction_support_parameter_type_error()
- test_em_optimizer_init()
- test_em_optimizer_initialized_with_none_random_seed()
- test_em_optimizer_initialized_with_none_solution_template_2()
- test_em_optimizer_initialized_with_valid_parameters()
- test_em_optimizer_initialized_without_em_attraction_support()
- test_finish_control_type_error()
- test_population_size_parameter_type_error()
- test_random_seed_type_error()
- test_solution_template_parameter_type_error()
uo.tests.unit.algorithm.metaheuristic.electro_magnetism_like_metaheuristic.test_em_optimizer_properties module
- class uo.tests.unit.algorithm.metaheuristic.electro_magnetism_like_metaheuristic.test_em_optimizer_properties.TestEmOptimizerGenerationalProperties(methodName='runTest')
Bases:
TestCase
- setUp()
Hook method for setting up the test fixture before exercising it.
- classmethod setUpClass()
Hook method for setting up class fixture before running tests in the class.
- tearDown()
Hook method for deconstructing the test fixture after testing it.
- classmethod tearDownClass()
Hook method for deconstructing the class fixture after running all tests in the class.
- test_evaluations_max_should_be_equal_as_in_constructor()
- test_iterations_max_should_be_equal_as_in_constructor()
- test_name_should_be_em()
- test_problem_dimension_should_be_equal_as_in_constructor()
- test_problem_file_path_should_be_equal_as_in_constructor()
- test_problem_is_minimization_should_be_equal_as_in_constructor()
- test_problem_name_should_be_equal_as_in_constructor()
- test_random_seed_should_be_equal_as_in_constructor()
- test_seconds_max_should_be_equal_as_in_constructor()