Remix.run Logo
bluGill 3 hours ago

The original claim for TDD is your write tests for all your edge cases. It doesn't matter about inputs you didn't consider because they are covered in the edge. If you can only accept inputs from 2-7 (inclusive) you check 1,2,7,8 - if those pass you assume the rest work.

Cpoll an hour ago | parent [-]

You forgot 0, -1, null, "1".