Google interview question

How would you test that your solution works correctly?