test func update 1

Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
Rakshaa Viswanathan
2020-09-05 10:26:27 +05:30
committed by GitHub
parent df39755e3b
commit 96882beeaa

View File

@@ -39,7 +39,7 @@ bool canJump(std::vector<int> nums) {
* @brief Function to test above algorithm
* @returns void
*/
void test(){
static void test(){
//Test 1
std::vector<int> num1={4,3,1,0,5};
assert(canJump(num1)==true);