Capital One Interview Question

How would you test your code?