| Total Complexity | 5 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | """rate module tests.""" |
||
| 2 | |||
| 3 | |||
| 4 | def test_montly_simple_interest_rate(): |
||
| 5 | from econopy.rates import montly_simple_interest_rate |
||
| 6 | assert montly_simple_interest_rate(12) == 1.0 |
||
| 7 | |||
| 8 | |||
| 9 | def test_cuatrimestral_simple_interest_rate(): |
||
| 10 | from econopy.rates import cuatrimestral_simple_interest_rate |
||
| 11 | assert cuatrimestral_simple_interest_rate(3) == 1.0 |
||
| 12 | |||
| 13 | |||
| 14 | def test_trimestral_simple_interest_rate(): |
||
| 15 | from econopy.rates import trimestral_simple_interest_rate |
||
| 16 | assert trimestral_simple_interest_rate(4) == 1.0 |
||
| 17 | |||
| 18 | |||
| 19 | def test_semestral_simple_interest_rate(): |
||
| 20 | from econopy.rates import semestral_simple_interest_rate |
||
| 21 | assert semestral_simple_interest_rate(2) == 1.0 |
||
| 22 | |||
| 23 | |||
| 24 | def test_interes_anual_simple(): |
||
| 25 | from econopy.rates import interes_anual_simple |
||
| 26 | assert interes_anual_simple(1, 1) == 1 |
||
| 27 |
This check looks for invalid names for a range of different identifiers.
You can set regular expressions to which the identifiers must conform if the defaults do not match your requirements.
If your project includes a Pylint configuration file, the settings contained in that file take precedence.
To find out more about Pylint, please refer to their site.