From aaa36e4245da6feb110ee93ade149d79f7aee1ba Mon Sep 17 00:00:00 2001 From: pux Date: Mon, 22 Mar 2021 19:52:00 +0100 Subject: fix missing _m in unit test --- calctenna.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calctenna.py b/calctenna.py index 03e75f4..a8f445f 100755 --- a/calctenna.py +++ b/calctenna.py @@ -13,7 +13,7 @@ class Tests(unittest.TestCase): def test_calc(self): antenna_data = AntennaData(100e6, 0.951) calc(antenna_data) - self.assertEqual(antenna_data.dipole_leg_length, 0.7127565688949999) + self.assertEqual(antenna_data.dipole_leg_length_m, 0.7127565688949999) class AntennaData(): def __init__(self, frequency_hz, velocity_factor): -- cgit v1.2.2-1-g5e49