From c5b86c1b1d33bb25f04294dec896896725d20e12 Mon Sep 17 00:00:00 2001
From: Bob Mottram
1. HAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA
' + exampleText='ABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABC
' resultText=removeLongWords(exampleText,40,[]) assert resultText=='ABCABCABCABCABCABCABCABCABCABCABCABCABCA<\p>' + exampleText='
Some text.\n\nHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHHAHAHAHAHAHAHAHAHAHAHAHAHHAHAHAHAHAHAHAHAH!
' + resultText=removeLongWords(exampleText,40,[]) + assert resultText=='Some text.\n\nHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAH
' + + def testAddEmoji(): print('testAddEmoji') content='Emoji :lemon: :strawberry: :banana:'