Comment Comment by kefka Seems pretty simple, honestly. I've written enough unit tests to throw in my 2 bits.Put a sane, normal value test. This will pass unless shit's broken.Then test edge cases. Test min, max.Then test some impossible values. If they correctly fail, you pass. parent kefka 10 years ago
Put a sane, normal value test. This will pass unless shit's broken.
Then test edge cases. Test min, max.
Then test some impossible values. If they correctly fail, you pass.