Add unit tests for calculator
This commit is contained in:
1 parent
05bfcd65df
commit
2e854cbeb6
2227 files changed
+408232
-1
No files matched your search
@@ -0,0 +1,11 @@
|
||||
"""
|
||||
Calculator library containing basic math operations.
|
||||
"""
|
||||
|
||||
|
||||
def add(first_term, second_term):
|
||||
return first_term + second_term
|
||||
|
||||
|
||||
def subtract(first_term, second_term):
|
||||
return first_term - second_term
|
||||
Reference in new issue
Block a user