- Gender
- Date of Birth
- Smoking Status
- Coverage Amount
Premium Amount = Coverage Amount x Per Dollar Premium Rate
Per Dollar Premium Rate is retrievable from a premium rate table based on the following factors:
- Gender
- Age Next Birthday
- Derived from Date of Birth
- Mortality Class
- Derived from Smoking Status
- Run tests
bundle exec rake test