| Conditions | 1 |
| Total Lines | 11 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | # -*- coding: utf-8 -*- |
||
| 10 | @pytest.mark.parametrize( |
||
| 11 | "Kp, hp", [ |
||
| 12 | (2.0, 23.304548167783693), |
||
| 13 | (5.0, 69.37903754706306), |
||
| 14 | (5.01, 69.6037739596099), |
||
| 15 | (7.0, 146.4364572258345), |
||
| 16 | ] |
||
| 17 | ) |
||
| 18 | def test_hp(Kp, hp): |
||
| 19 | hpp = aurmod.hemispheric_power(Kp) |
||
| 20 | np.testing.assert_allclose(hpp, hp) |
||
| 21 | |||
| 29 |