Skip to content

Instantly share code, notes, and snippets.

@maryrosecook
Last active January 22, 2018 14:13
Show Gist options
  • Save maryrosecook/52442a5f90fee756ce9ae75a2b483e79 to your computer and use it in GitHub Desktop.
Save maryrosecook/52442a5f90fee756ce9ae75a2b483e79 to your computer and use it in GitHub Desktop.
# 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment