def test_comma_is_not_strong_punctuation(self): token = Token("xxx", ",") self.assertFalse(token.is_strong_punctuation())
def test_question_mark_is_strong_punctuation(self): token = Token("xxx", "?") self.assertTrue(token.is_strong_punctuation())
def test_exclamation_point_is_strong_punctuation(self): token = Token("xxx", "!") self.assertTrue(token.is_strong_punctuation())
def test_period_is_strong_punctuation(self): token = Token("xxx", ".") self.assertTrue(token.is_strong_punctuation())
def test_comma_is_not_strong_punctuation(self): token = Token("xxx", ",") self.assertFalse(token.is_strong_punctuation())
def test_exclamation_point_is_strong_punctuation(self): token = Token("xxx", "!") self.assertTrue(token.is_strong_punctuation())
def test_question_mark_is_strong_punctuation(self): token = Token("xxx", "?") self.assertTrue(token.is_strong_punctuation())
def test_period_is_strong_punctuation(self): token = Token("xxx", ".") self.assertTrue(token.is_strong_punctuation())