Skip to content

Commit

Permalink
removing debugging messages
Browse files Browse the repository at this point in the history
  • Loading branch information
FMGS666 committed Dec 14, 2023
1 parent 4950eef commit 68e77c1
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions code-experiments/test/unit-test/test_coco_problem.c
Expand Up @@ -13,7 +13,6 @@ MU_TEST(test_coco_evaluate_function) {
double *x;
double *y;

coco_info("testing bbob");
suite = coco_suite("bbob", NULL, "dimensions: 2 instance_indices: 1");
x = coco_allocate_vector(2);
y = coco_allocate_vector(1);
Expand All @@ -27,7 +26,6 @@ MU_TEST(test_coco_evaluate_function) {
coco_free_memory(x);
coco_free_memory(y);

coco_info("testing bbob-noisy");
suite = coco_suite("bbob-noisy", NULL, "dimensions: 2 instance_indices: 1");
x = coco_allocate_vector(2);
y = coco_allocate_vector(1);
Expand All @@ -41,7 +39,6 @@ MU_TEST(test_coco_evaluate_function) {
coco_free_memory(x);
coco_free_memory(y);

coco_info("testing bbob-biobj");
suite = coco_suite("bbob-biobj", NULL, "dimensions: 2 instance_indices: 1");
x = coco_allocate_vector(2);
y = coco_allocate_vector(2);
Expand All @@ -55,16 +52,10 @@ MU_TEST(test_coco_evaluate_function) {
coco_free_memory(x);
coco_free_memory(y);

coco_info("testing bbob-constrained");
coco_info("Allocating suite");
suite = coco_suite("bbob-constrained", NULL, "dimensions: 2 instance_indices: 1");
coco_info("Suite allocated. Allocating x");
x = coco_allocate_vector(2);
coco_info("x allocated. Allocating y");
y = coco_allocate_vector(1);
coco_info("y allocated. Iterating over the suite");
while ((problem = coco_suite_get_next_problem(suite, NULL)) != NULL) {
coco_info("getting problem %d", problem->suite_dep_index);
x[0] = 0;
x[1] = NAN;
coco_evaluate_function(problem, x, y);
Expand Down

0 comments on commit 68e77c1

Please sign in to comment.