コード例 #1
0
ファイル: test_umbrella.py プロジェクト: Evalle/umbrella
def test_color_temp_medium():
    assert color_temperature(15) ==(yellow +str(15) + end)
コード例 #2
0
ファイル: test_umbrella.py プロジェクト: Evalle/umbrella
def test_color_temp_low():
    assert color_temperature(9) ==(blue +str(9) + end)
コード例 #3
0
ファイル: test_umbrella.py プロジェクト: Evalle/umbrella
def test_color_temp_high():
    assert color_temperature(26) ==(red +str(26) + end)