Testing your code
A test is a call with an answer worked out beforehand, and a few tests chosen to include the empty, the smallest and the edge cases catch the mistakes that a single typical example hides.
A test is a call with an answer worked out beforehand, and a few tests chosen to include the empty, the smallest and the edge cases catch the mistakes that a single typical example hides.