Skip to content

Commit

Permalink
Implement addition and subtraction libraries - unit tests pass!
Browse files Browse the repository at this point in the history
  • Loading branch information
cianclarke committed Mar 8, 2016
1 parent 8436053 commit 503b545
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion lib/add.js
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
module.exports = function(){ return 0; };
module.exports = function(a, b){
return a + b;
};
4 changes: 3 additions & 1 deletion lib/subtract.js
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
module.exports = function(){ return 0; };
module.exports = function(a, b){
return a - b;
};

0 comments on commit 503b545

Please sign in to comment.