Doing It
Write the simplest thing that passes, genuinely. If the test says total([]) == 0, return 0 is a correct green step. It looks like cheating and it is not: it proves the test runs, and the next test forces the real implementation.
The discipline of not writing code the tests do not yet demand is what keeps the suite meaningful and the code small.
Mark this lesson complete
Signed in, your progress follows you to every device.