Skip to content

AlfredoFilho/Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Calculator

Calculator in python for studying unittest

How to use (Example here):

from Calculator import Calculator

calc = Calculator()

resultDivision = calc.divide(100, 50) # 2.0
resultMultiplication = calc.multiply(50, 50) # 2500
resultSum = calc.sum(50, 50) # 100
resultSubtraction = calc.subtract(50, 50) # 0

For run tests:

python test_calculator.py -v

About

Calculator in python for studying unittest

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages