Пример #1
0
	def test_NotPeropero(self):

		tc = TweetChecker(u'レロレロ')
		assert_false(tc.isPeropero())

		tc = TweetChecker(u'ぺ')
		assert_false(tc.isPeropero())

		tc = TweetChecker(u'ブホホフギィ!!')
		assert_false(tc.isPeropero())
Пример #2
0
	def test_Peropero(self):
		tc = TweetChecker(u'ペロペロ')
		assert_true(tc.isPeropero())

		tc = TweetChecker(u'ペロペロ')
		assert_true(tc.isPeropero())

		tc = TweetChecker(u'ペロペロ')
		assert_true(tc.isPeropero())

		tc = TweetChecker(u'ペロペロ')
		assert_true(tc.isPeropero())

		tc = TweetChecker(u'これにペロペロ機能つける')
		assert_true(tc.isPeropero())