Esempio n. 1
0
def test_matchline_case_insensitive_match(BREVE_CODEPOINT_NAME):
    testMatch = 'small'
    found = runes.matchline(testMatch, BREVE_CODEPOINT_NAME)
    assert found
Esempio n. 2
0
def test_matchline_multi_words_out_of_order_match(BREVE_CODEPOINT_NAME):
    testMatch = 'LETTER SMALL'
    found = runes.matchline(testMatch, BREVE_CODEPOINT_NAME)
    assert found
Esempio n. 3
0
def test_matchline_one_match(BREVE_CODEPOINT_NAME):
   testMatch = 'BREVE'
   result = runes.matchline(testMatch, BREVE_CODEPOINT_NAME)
   assert result
Esempio n. 4
0
def test_matchline_partial_no_match(BREVE_CODEPOINT_NAME):
   testMatch = 'LET'
   found = runes.matchline(testMatch, BREVE_CODEPOINT_NAME)
   assert not found
Esempio n. 5
0
def test_matchline_no_match(EMPTY_LINE):
   testMatch = 'BREVE'
   result = runes.matchline(testMatch, EMPTY_LINE)
   assert not result