Test an edge case
Function returns average of a list. Tests cover [2,4] and [5]. Production receives [].
- Empty input creates division by zero or undefined behavior.
- Apply the method to this new case and check the strongest alternative.
decomposition, algorithms, data, testing, and iteration
Function returns average of a list. Tests cover [2,4] and [5]. Production receives [].
Pause. Find what matters. Then make your move.