def test_find_conclusion_no_one_installed_game_means_yellow():
    assert conclusion(['owned', 'not installed']) == 'YELLOW'
def test_find_conclusion_installed_game_means_green():
    assert conclusion(['owned', 'installed']) == 'GREEN'
Exemple #3
0
def test_conclusion_not_owned_means_red():
    assert conclusion(
        ['not owned', 'not installed', 'installed', 'not installed']) == 'RED'
def test_find_conclusion_no_one_owned_game_means_red():
    assert conclusion(['not owned', 'not installed']) == 'RED'
Exemple #5
0
def test_conclusion_installed_means_green():
    assert conclusion(['installed', 'installed']) == 'GREEN'
Exemple #6
0
def test_conclusion_empty_list_means_green():
    assert conclusion(['']) == 'GREEN'
Exemple #7
0
def test_conclusion_empty_list_means_not_yellow():
    assert conclusion(['']) != 'YELLOW'
Exemple #8
0
def test_conclusion_multiple_not_installed_means_yellow():
    assert conclusion(
        ['owned', 'not installed', 'not installed', 'owned',
         'owned']) == 'YELLOW'
Exemple #9
0
def test_conclusion_empty_list_means_not_red():
    assert conclusion(['']) != 'RED'
def test_find_conclusion_not_owned_installed_red():
    assert conclusion(['not owned', 'installed']) == 'RED'
def test_find_conclusion_one_installed_one_not_installed_yellow():
    assert conclusion(['not installed', 'installed']) == 'YELLOW'