This Gist was automatically created by Carbide, a free online programming environment.
|# Use test-driven development to write a method that:|
|# * Takes an array of numbers.|
|# * Returns an array of the same numbers, except each number has had 1 added to it.|
|# * e.g.|
|# * Input: [1, 2, 3, 4, 5]|
|# * Return: [2, 3, 4, 5, 6]|
|# * Make sure to create a separate project directory for your code.|
Map the student's request for help to one of the underlying problems listed below.
Apply one of the suggested solutions.
Ask the student for feedback on your help.