sassa_nf ([personal profile] sassa_nf) wrote in [personal profile] juan_gandhi 2021-12-13 01:20 pm (UTC)

Re: Unit tests for null and negative values?

Yes, but the problem was that most of the code did not test for this condition at all, and would neither treat correctly, nor throw. So if you don't test that the method throws on invalid inputs, you are in the same boat as Y2K.

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting