diff --git a/src/tests/BPTreeTests.c b/src/tests/BPTreeTests.c index 589c7ca9e4c794402dbd6dd1f52cbc6defff6929..18d0026a5be0b6d647a0ab850c457c6b267615f8 100644 --- a/src/tests/BPTreeTests.c +++ b/src/tests/BPTreeTests.c @@ -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); }