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)
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)