summaryrefslogtreecommitdiff
path: root/test/unit_test_cell_manager.cpp
diff options
context:
space:
mode:
authorchenzizhan <[email protected]>2023-08-04 14:36:22 +0800
committerchenzizhan <[email protected]>2023-08-04 14:36:22 +0800
commit9b692275dae582a6fcc59622dca74a41d8aaf8c1 (patch)
tree7ff01f6174d66ea767a413097468f6399c789db6 /test/unit_test_cell_manager.cpp
parentd74e3add12b3a53305e4b61854e58648232f37ae (diff)
fix ci
Diffstat (limited to 'test/unit_test_cell_manager.cpp')
-rw-r--r--test/unit_test_cell_manager.cpp28
1 files changed, 0 insertions, 28 deletions
diff --git a/test/unit_test_cell_manager.cpp b/test/unit_test_cell_manager.cpp
index cec05fd..0fccede 100644
--- a/test/unit_test_cell_manager.cpp
+++ b/test/unit_test_cell_manager.cpp
@@ -421,13 +421,6 @@ TEST(unit_test_cell_manager, find_next_id_given_all_cell_id_continuous)
*arr[i] = i;
}
- printf("arr:\n");
- for (int i = 0; i < 10; i++)
- {
- printf("%d ", *arr[i]);
- }
- printf("\n");
-
int last_find_result = -1;
int next_idx = 0;
last_find_result = find_next_unused_cell_id((const int *const *)arr, 10, last_find_result, &next_idx);
@@ -458,13 +451,6 @@ TEST(unit_test_cell_manager, find_next_id_given_continuous_hole)
*arr[i] = i + 2;
}
- printf("arr:\n");
- for (int i = 0; i < 10; i++)
- {
- printf("%d ", *arr[i]);
- }
- printf("\n");
-
int last_find_result = -1;
int next_idx = 0;
last_find_result = find_next_unused_cell_id((const int *const *)arr, 10, last_find_result, &next_idx);
@@ -492,13 +478,6 @@ TEST(unit_test_cell_manager, find_next_id_given_holes)
*arr[i] = i * 2; // 0, 2, 4, ...
}
- printf("arr:\n");
- for (int i = 0; i < 10; i++)
- {
- printf("%d ", *arr[i]);
- }
- printf("\n");
-
int last_find_result = -1;
int next_idx = 0;
last_find_result = find_next_unused_cell_id((const int *const *)arr, 10, last_find_result, &next_idx);
@@ -523,13 +502,6 @@ TEST(unit_test_cell_manager, find_next_id_given_holes_at_only_start)
arr[i] = (int *)malloc(sizeof(int));
*arr[i] = i + 2;
}
-
- printf("arr:\n");
- for (int i = 0; i < 10; i++)
- {
- printf("%d ", *arr[i]);
- }
- printf("\n");
int last_find_result = -1;
int next_idx = 0;