mirror of
https://github.com/dh1tw/pyhamtools.git
synced 2025-12-06 06:52:00 +01:00
added unittest for frequency conversion (2.4GHz - 13cm)
This commit is contained in:
parent
9c61f75c28
commit
8ef752e3ad
|
|
@ -65,6 +65,7 @@ class Test_utils_freq_to_band():
|
||||||
assert freq_to_band(1200000) == {"band" : 0.23, "mode":None}
|
assert freq_to_band(1200000) == {"band" : 0.23, "mode":None}
|
||||||
|
|
||||||
def test_shf_frequencies(self):
|
def test_shf_frequencies(self):
|
||||||
|
assert freq_to_band(2320200) == {"band" : 0.13, "mode":None}
|
||||||
assert freq_to_band(2390000) == {"band" : 0.13, "mode":None}
|
assert freq_to_band(2390000) == {"band" : 0.13, "mode":None}
|
||||||
|
|
||||||
assert freq_to_band(3300000) == {"band" : 0.09, "mode":None}
|
assert freq_to_band(3300000) == {"band" : 0.09, "mode":None}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue