def test_16err(self):
        """Tests if 16 byte errors still decodes"""
        errors = [5, 6, 12, 13, 38, 40, 42, 47, 50, 57, 58, 59, 60, 61, 62, 65]
        r = list(ord(x) for x in self.code)

        for e in errors:
            r[e] = (r[e] + 50) % 256

        r = "".join(chr(x) for x in r)
        decode = self.coder.decode(r)
        self.assertEqual(self.string, decode)
dataset/ETHPy150Open brownan/Reed-Solomon/rstest.py/TestRSdecoding.test_16err/original