def test_2(self): result = encrypt("This is a test!", 1) self.assertEqual(result, "hsi etTi sats!")
def test_1(self): result = encrypt("This is a test!", 0) self.assertEqual(result, "This is a test!")
def test_31(self): result = encrypt("", 0) self.assertEqual(result, "")
def test_32(self): result = encrypt(None, 0) self.assertEqual(result, None)
def test_3(self): result = encrypt("This is a test!", 2) self.assertEqual(result, "s eT ashi tist!")