HF RL Explorer

income tax: add test

income tax: add test: a task in smol-software-harbor (Harbor dataset). Add tests to test/tax test.rb for Tax.effective rate : it must be 0.0 for zero or negative incomes, and for a positive income it is the tax due divided by the income, in percent, rounded to one decimal (for 50 000 the tax is 11…

The task

Add tests to `test/tax_test.rb` for `Tax.effective_rate`: it must be `0.0` for zero or negative incomes, and for a positive income it is the tax due divided by the income, in percent, rounded to one decimal (for 50 000 the tax is 11 000, so the rate is `22.0`; for 12 345 it is `3.8`). Do not change `lib/tax.rb` and…

Part of efederici/smol-software-harbor.