From 4ca4333efef5cc2ea74120291dbaa7eb02b9c010 Mon Sep 17 00:00:00 2001 From: David Leal Date: Wed, 26 Apr 2023 18:59:57 -0600 Subject: [PATCH] docs: add more tests in the contributing guidelines --- CONTRIBUTING.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a65dcc14d..49337d795 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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"; }