whizyrel/dt-pearl-software-testing

Payroll Testing

Opened this issue · 0 comments

Functional Paradigmn

General Util

Using the bottom-up approach:

Implement with tests

  • a function to detect if parameter passed is not of type number
  • a function to convert argument to type number

Calculator Util

Implement with tests

  • a function to add arguments and return sum.
  • a function to subtract arguments and return difference.

Payroll Util

Implement with tests

  • Calculate total earnings
  • Calculate deductions

OOP Paradigmn

Refactor implementations from above into OOP paradigmn