Beispiel #1
0
 def test_remove_blocking_empty_string(self):
     """Test remove_blocking with an empty string."""
     actual_output = CHATWordCleaner.remove_blocking('')
     desired_output = ''
     self.assertEqual(actual_output, desired_output)
Beispiel #2
0
 def test_remove_blocking_unequal_sign(self):
     """Test remove_blocking with an unequal sign as marker (≠)."""
     actual_output = CHATWordCleaner.remove_blocking('≠hey')
     desired_output = 'hey'
     self.assertEqual(actual_output, desired_output)
Beispiel #3
0
 def test_remove_blocking_circumflex(self):
     """Test remove_blocking with a circumflex as marker (^)."""
     actual_output = CHATWordCleaner.remove_blocking('^there')
     desired_output = 'there'
     self.assertEqual(actual_output, desired_output)