Module 10 · Check it yourself · challenge 1 of 3 in this lesson

You list five trySpend cases with their expected results, including 0 and a negative amount

You compare your work with the list of what done means.

Open

Level 1, Apprentice

Challenge

Write, on paper or in a comment, the it names and expect lines for a trySpend suite.

Start from
The game at milestone m06 (download)

Done means

  • You list five trySpend cases with their expected results, including 0 and a negative amount
  • Each case names the exact numbers, not just 'works'

Meet the criteria above, then record your own result. No test grades this check.