eQ Technologic interview question

Writing test cases for max function for an array