Slalom Build interview question

How would you test a function that you've written?