Question d’entretien chez Chamberlain Group

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