Google Interview Question

How would you test that your solution works correctly?