Files.com interview question

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