Skip to content
Snippets Groups Projects
Commit 15d3386f authored by Florian Burgener's avatar Florian Burgener
Browse files

Change comments

parent 412ba274
No related branches found
No related tags found
No related merge requests found
......@@ -314,7 +314,7 @@ static void test_BPTree_insert_should_comply_with_BPTree_rules_using_BPTree_of_g
for (int i = 0; i < keys->size; i++) {
BPTree_insert(root, keys->items[i], transform_key_to_data(keys->items[i]));
// After each insertion, we check that the B+ tree is compliant with the B+ Tree rules.
// After each insertion, is checked that the B+ tree conforms to the rules of the B+ tree.
TEST_ASSERT(check_BPTree_compliance(root));
}
......@@ -376,7 +376,7 @@ void test_BPTree_delete_should_comply_with_BPTree_rules_using_BPTree_of_given_or
while (keys->size > 0) {
int index = rand() % keys->size;
BPTree_delete(root, keys->items[index]);
// After each deletion, we check that the B+ tree conforms to the B+ Tree rules.
// After each deletion, is checked that the B+ tree conforms to the rules of the B+ tree.
TEST_ASSERT(check_BPTree_compliance(root));
IntegerArray_delete_at_index(keys, index);
}
......@@ -437,7 +437,7 @@ void test_BPTree_search_should_find_the_keys_that_exist_in_the_BPTree_using_BPTr
uint64_t data;
bool is_found = BPTree_search(root, keys->items[i], &data);
// After each search, we check that the key has been found and that the relationship between it and the data is correct.
// After each search, is checked that the key has been found and that the relationship between it and the data is correct.
TEST_ASSERT(is_found);
TEST_ASSERT_EQUAL_UINT64(transform_key_to_data(keys->items[i]), data);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment