Activities for a lesson on functional programming graded by unittest