示例#1
0
def test31_clear_air():
    'Test checking whether VCP 31 is clear air mode'
    assert not is_precip_mode(31), 'VCP 31 is not precip'
示例#2
0
def test21_precip():
    'Test checking whether VCP 21 is precipitation mode'
    assert is_precip_mode(21), 'VCP 21 is precip'
示例#3
0
def test11_precip():
    'Test checking whether VCP 11 is precipitation mode'
    assert is_precip_mode(11), 'VCP 11 is precip'
示例#4
0
 def test11(self):
     assert is_precip_mode(11), 'VCP 11 is precip'
示例#5
0
 def test31(self):
     assert not is_precip_mode(31), 'VCP 31 is not precip'
示例#6
0
def test31_clear_air():
    'Test checking whether VCP 31 is clear air mode'
    assert not is_precip_mode(31), 'VCP 31 is not precip'
示例#7
0
 def test21(self):
     assert is_precip_mode(21), 'VCP 21 is precip'
示例#8
0
def test11_precip():
    'Test checking whether VCP 11 is precipitation mode'
    assert is_precip_mode(11), 'VCP 11 is precip'
示例#9
0
def test21_precip():
    'Test checking whether VCP 21 is precipitation mode'
    assert is_precip_mode(21), 'VCP 21 is precip'
示例#10
0
 def test31(self):
     assert not is_precip_mode(31), 'VCP 31 is not precip'
示例#11
0
 def test11(self):
     assert is_precip_mode(11), 'VCP 11 is precip'
示例#12
0
 def test21(self):
     assert is_precip_mode(21), 'VCP 21 is precip'