コード例 #1
0
	def test_merge(self):
		images = concat.split(self.img)
		image = concat.merge(images, 'test_merged')
		self.assertTrue(image == os.path.join(os.getcwd(), 'test_merged'))
コード例 #2
0
	def test_split(self):
		images = concat.split(self.img)
		self.assertTrue(len(images) == 180)