def test_matchline_case_insensitive_match(BREVE_CODEPOINT_NAME): testMatch = 'small' found = runes.matchline(testMatch, BREVE_CODEPOINT_NAME) assert found
def test_matchline_multi_words_out_of_order_match(BREVE_CODEPOINT_NAME): testMatch = 'LETTER SMALL' found = runes.matchline(testMatch, BREVE_CODEPOINT_NAME) assert found
def test_matchline_one_match(BREVE_CODEPOINT_NAME): testMatch = 'BREVE' result = runes.matchline(testMatch, BREVE_CODEPOINT_NAME) assert result
def test_matchline_partial_no_match(BREVE_CODEPOINT_NAME): testMatch = 'LET' found = runes.matchline(testMatch, BREVE_CODEPOINT_NAME) assert not found
def test_matchline_no_match(EMPTY_LINE): testMatch = 'BREVE' result = runes.matchline(testMatch, EMPTY_LINE) assert not result