Skip to content

Commit

Permalink
increase test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmargraf committed Nov 9, 2023
1 parent 187acb3 commit 7440056
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pycomlink/tests/test_k_R_relation.py
Expand Up @@ -197,6 +197,7 @@ def test_raises(self):
k_R_relation.a_b(30, "H", approx_type="ITU_2000")



class Test_calc_R_from_A(unittest.TestCase):
def test_with_int(self):
A = 5
Expand Down Expand Up @@ -245,7 +246,7 @@ def test_raise_with_wrong_args(self):
with self.assertRaises(ValueError):
# pol and F_GHz as xr.DataArray but with different size
calculated_R = k_R_relation.calc_R_from_A(
A=2, L_km=42, f_GHz=xr.DataArray([10,10]), pol=xr.DataArray("H"), a=1)
A=2, L_km=42, f_GHz=xr.DataArray([10,10]), pol=xr.DataArray("H"))

def test_different_power_law_approximation_types(self):
A = 5
Expand Down

0 comments on commit 7440056

Please sign in to comment.