Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 595 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 595 Bytes

Simple Calculator Demo Program

This is a simple calculator demo program for demonstrating BDD Testing.

How to run

$ git clone https://github.com/hmurari/simple-calc-bdd.git
$ python calc.py 5 + 8
13
$ python calc.py 5*3 + 3
18
$ python calc.py 15/3+5
10

Aren't there other calculators out there? Why write it out?

This is just a demo application to demonstrate BDD Testing concepts. You can read more about the BDD Testing concepts, you can refer to this article on Medium: BDD Quickstart with Python