Exemplo n.º 1
0
def test_match_two_words(line_for_A):
    char, name = parse(line_for_A)
    assert match(set(['CAPITAL', 'LATIN']), name)
Exemplo n.º 2
0
def test_match_all_words(line_for_A):
    char, name = parse(line_for_A)
    assert match(set(name.split()), name)
Exemplo n.º 3
0
def test_match_one_word(line_for_A):
    char, name = parse(line_for_A)
    assert match(set(['CAPITAL']), name)