Ejemplo n.º 1
0
def test_extract_rule_8():
    expected_rule = ("faded blue", {})

    assert extract(rules[7]) == expected_rule
Ejemplo n.º 2
0
def test_extract_rule_9():
    expected_rule = ("dotted black", {})

    assert extract(rules[8]) == expected_rule
Ejemplo n.º 3
0
def test_extract_rule_6():
    expected_rule = ("dark olive", {"faded blue": 3, "dotted black": 4})

    assert extract(rules[5]) == expected_rule
Ejemplo n.º 4
0
def test_extract_rule_7():
    expected_rule = ("vibrant plum", {"faded blue": 5, "dotted black": 6})

    assert extract(rules[6]) == expected_rule
Ejemplo n.º 5
0
def test_extract_rule_5():
    expected_rule = ("shiny gold", {"dark olive": 1, "vibrant plum": 2})

    assert extract(rules[4]) == expected_rule
Ejemplo n.º 6
0
def test_extract_rule_4():
    expected_rule = ("muted yellow", {"shiny gold": 2, "faded blue": 9})

    assert extract(rules[3]) == expected_rule
Ejemplo n.º 7
0
def test_extract_rule_3():
    expected_rule = ("bright white", {"shiny gold": 1})

    assert extract(rules[2]) == expected_rule
Ejemplo n.º 8
0
def test_extract_rule_2():
    expected_rule = ("dark orange", {"bright white": 3, "muted yellow": 4})

    assert extract(rules[1]) == expected_rule
Ejemplo n.º 9
0
def test_extract_rule_1():
    expected_rule = ("light red", {"bright white": 1, "muted yellow": 2})

    assert extract(rules[0]) == expected_rule