Skip to content

Instantly share code, notes, and snippets.

@serialseb
Last active December 25, 2015 20:59
Show Gist options
  • Save serialseb/7039043 to your computer and use it in GitHub Desktop.
Save serialseb/7039043 to your computer and use it in GitHub Desktop.
Tests for calculator
1+1,2
1.1+0.1,1.2
1+-1,0
-2+1,-1
1+2+3,6
2*3,6
2*-3,-6
2*3*4,24
3+3*4,15
(3+3)*4,24
2-3,-1
(2*(3+2))+5,15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment