Skip to content

Commit

Permalink
docs: add more tests in the contributing guidelines
Browse files Browse the repository at this point in the history
  • Loading branch information
Panquesito7 authored Apr 27, 2023
1 parent fe67102 commit 4ca4333
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}
Expand Down

0 comments on commit 4ca4333

Please sign in to comment.