Intel Corporation interview question

How would you test a function?