Exemple #1
0
 def test_remove_drawls_empty_string(self):
     """Test remove_drawls with an empty string."""
     actual_output = CHATWordCleaner.remove_drawls('')
     desired_output = ''
     self.assertEqual(actual_output, desired_output)
Exemple #2
0
 def test_remove_drawls_multiple_lengthened_syllables(self):
     """Test remove_drawls with 2 lengthened syllables (:)."""
     actual_output = CHATWordCleaner.remove_drawls('ba:na:nas')
     desired_output = 'bananas'
     self.assertEqual(actual_output, desired_output)