Exercise: Define Test Cases
1.
Typical case
: list contains a few numbers
2.
Edge cases
: a) list with only 1 number,
b) list with many values all the same,
c) list containing some 0 values (changes average).
3.
Illegal case
: empty list
What should happen in this case??
**
**
Hint: Python has a builtin
max(list)
function.
TDD forces you to think about
what the code
should do
.