示例#1
0
	def test_TwoWordsTwoSpace(self):
		self.assertEqual(ucword('hello  goodbye'), 'Hello  Goodbye')
示例#2
0
	def test_WithDelimiter(self):
		self.assertEqual(ucword('hello|goodbye', '|'), 'Hello|Goodbye')
示例#3
0
	def test_OneWord(self):
		self.assertEqual(ucword('hello'), 'Hello')