docs: add more tests in the contributing guidelines

This commit is contained in:
David Leal 2023-04-26 18:59:57 -06:00 committed by GitHub
parent fe671029c3
commit 4ca4333efe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -116,6 +116,8 @@ static void tests() {
assert(is_number_on_array(arr, 9) == true);
assert(is_number_on_array(arr, 4) == false);
assert(is_number_on_array(arr, 98) == true);
assert(is_number_on_array(arr, 512) == false);
std::cout << "All tests have successfully passed!\n";
}