Пример #1
0
	def test_strip_list_words(self):
		striped_list = multidelim.striplist(['adobe',' java',' sun',' C# '])
		print("Stripped words" , striped_list)
		self.assertEqual(['adobe','java','sun','C#'],striped_list)
Пример #2
0
	def test_strip_list(self):
		striped_list = multidelim.striplist(['a',' b',' c',' d'])
		print("Stripped " , striped_list)
		self.assertEqual(['a','b','c','d'],striped_list)