Chamberlain Group Interview Question

If we told you to write a testing script about a function, how would you approach this?