Sum two numbers
In order to execute the function, we have to call it. While calling it, we can pass
arguments with it that will be available to the function as parameters. In the following
example, we call our function findMax
with the array
expected, it returns 5, the maximum of the given array.
In the example above, we solved the problem for an array of value
[1,5,3]. The expected result was 5. This is a test case. A function is called with a certain
has several test cases that your function has to pass.