Skip to content

Instantly share code, notes, and snippets.

@JoeKarlsson
Last active December 17, 2015 01:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JoeKarlsson/57eaf8be2463ab82bc33 to your computer and use it in GitHub Desktop.
Save JoeKarlsson/57eaf8be2463ab82bc33 to your computer and use it in GitHub Desktop.
Write tests for your algorithm

###Test...Solve...Refactor...Commit

###The Challenge This is only a test

We are going to be doing a quickfire challenge to solve the following objectives in a short amount of time in the following order:

  1. In your algorithm repository, create a new branch called 'tests'
  2. Setup mocha/chai to be our testing framework
  3. Write tests for the algorithm we are working on (Quicksort, Bubblesort, Mergesort, etc.)
  4. When you are done, merge your branch into the master branc.

Thaaaaaaanks! :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment