Real Heart Interview Question

How do you test a function?