def test_encode_decode(test_input): '''Verify that decoding an encoded string returns original string''' assert(mycrypt.decode(mycrypt.encode(test_input))) == test_input