def test_get_words_markdown():
 expected_words = ['A', 'Blockquote', 'Bold', 'Heading', 'Horizontal', 'Image', 'Inline', 'Italic', 'Link', 'List', 'One', 'Rule', 'Three', 'Two', 'a', 'after', 'b', 'backticks', 'blank', 'block', 'code', 'com', 'http', 'indent', 'jpg', 'line', 'or', 'org', 'paragraph', 'png', 'print', 'spaces', 'url', 'with']
 assert (sorted(expected_words) == sorted(get_words_by_filename('example.md')))
 assert (sorted(expected_words) == sorted(get_words_by_content('example.md')))

def test_get_words_markdown ( ) : expected_words = [ 'A' , 'Blockquote' , 'Bold' , 'Heading' , 'Horizontal' , 'Image' , 'Inline' , 'Italic' , 'Link' , 'List' , 'One' , 'Rule' , 'Three' , 'Two' , 'a' , 'after' , 'b' , 'backticks' , 'blank' , 'block' , 'code' , 'com' , 'http' , 'indent' , 'jpg' , 'line' , 'or' , 'org' , 'paragraph' , 'png' , 'print' , 'spaces' , 'url' , 'with' ] assert ( sorted ( expected_words ) == sorted ( get_words_by_filename ( 'example.md' ) ) ) assert ( sorted ( expected_words ) == sorted ( get_words_by_content ( 'example.md' ) ) )
test for get word from markdown file syntax .