Varian Medical Systems Interview Question

Write a test to detect the correctness of a function. This function is to remove all odd number in an array.