Files.com Interview Question

How do you decide how many tests to write for your code