Esempio n. 1
0
	def test_unpack(self):
		""" unpack() """
		for s, l in self.test_values_unpack:
			fs = Filesequence.from_string(s)
			result = fs.unpack()
			self.assertEqual(l, result)
Esempio n. 2
0
	def test_frame_amount(self):
		""" frame amount """
		for s, i in self.test_values_frame_amount:
			fs = Filesequence.from_string(s)
			length = fs.frame_amount()
			self.assertEqual(i, length)