def METHOD_NAME(self, expected, actual):
    self.assertEqual(len(expected), len(actual))
    for i1, i2 in zip(expected, actual):
        if isinstance(i1, str):
            self.assertIsInstance(i2, str)
            self.assertEqual(i1, i2)
        else:
            self.assertAlmostEqual(i1, i2)