Write a method named arrayCountGreaterThan
.
It should accept a non-nullable Int
array as its first argument and an Int
as its second,
and return a count of how many values in the array are strictly greater than the second parameter.
You're challenge is to write tests for this problem described above.
Stuck? You may find these lessons helpful: