rename functions for seleted altitudes in BDS40
This commit is contained in:
@@ -14,7 +14,7 @@ def bds_info(BDS, m):
|
||||
info = [commb.cs20(m)]
|
||||
|
||||
elif BDS == "BDS40":
|
||||
info = (commb.alt40mcp(m), commb.alt40fms(m), commb.p40baro(m))
|
||||
info = (commb.selalt40mcp(m), commb.selalt40fms(m), commb.p40baro(m))
|
||||
|
||||
elif BDS == "BDS44":
|
||||
info = (commb.wind44(m), commb.temp44(m), commb.p44(m), commb.hum44(m))
|
||||
|
||||
@@ -10,12 +10,12 @@ def test_bds20_callsign():
|
||||
|
||||
|
||||
def test_bds40_functions():
|
||||
assert bds.bds40.alt40mcp("A000029C85E42F313000007047D3") == 3008
|
||||
assert bds.bds40.alt40fms("A000029C85E42F313000007047D3") == 3008
|
||||
assert bds.bds40.selalt40mcp("A000029C85E42F313000007047D3") == 3008
|
||||
assert bds.bds40.selalt40fms("A000029C85E42F313000007047D3") == 3008
|
||||
assert bds.bds40.p40baro("A000029C85E42F313000007047D3") == 1020.0
|
||||
|
||||
assert commb.alt40mcp("A000029C85E42F313000007047D3") == 3008
|
||||
assert commb.alt40fms("A000029C85E42F313000007047D3") == 3008
|
||||
assert commb.selalt40mcp("A000029C85E42F313000007047D3") == 3008
|
||||
assert commb.selalt40fms("A000029C85E42F313000007047D3") == 3008
|
||||
assert commb.p40baro("A000029C85E42F313000007047D3") == 1020.0
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user