Glossary: Refactoring and Clean Code
Edge case
Also written: edge cases, edges
An input at the boundary of a rule, such as exactly $300 or 20 bags, where bugs like `>` versus `>=` hide. Tests should pin the values just below and at each limit.
Glossary: Refactoring and Clean Code
Also written: edge cases, edges
An input at the boundary of a rule, such as exactly $300 or 20 bags, where bugs like `>` versus `>=` hide. Tests should pin the values just below and at each limit.