Apply test-driven development (TDD) to implement a set of software requirements for Software Testing and Quality Assurance - CSE 4283, Mississippi State University - Spring 2021
Write unit tests to provide adequate coverage of a code-base using chosen unit testing framework and test runner.
Develop a CLI or GUI app that prompts the user to select a function to execute and allows the user to gracefully exit the app when desired.
The menu should be displayed after each function (if app is CLI) unless the user exits. For now, the app must have the following functionalities:
- Body Mass Index - Input height in feet and inches. Input weight in pounds.
Return BMI value and category:
- *If BMI falls below 18.5*, it falls within the underweight range.
- *If BMI is between 18.5 to 24.9*, it falls within the normal or Healthy Weight range.
- *If BMI is 25.0 to 29.9*, it falls within the overweight range.
- *If BMI is 30.0 or higher*, it falls within the obese range.
- Retirement - Input user's current age, annual salary, percent saved (employer matches 35% of savings). Input desired retirement savings goal. Output what age savings goal will be met. You can assume death at 100 years (therefor, indicate if the savings goal is not met).
- BMI Formula - http://extoxnet.orst.edu/faqs/dietcancer/web2/twohowto.html
- Remember, unit tests serve as documentation - your tests should indicate the features of the program