             if direction == "[ENCRYPT]":                 self.assertEqual(cipher.encrypt(tv.plaintext), tv.ciphertext)             elif direction == "[DECRYPT]":                 self.assertEqual(cipher.decrypt(tv.ciphertext), tv.plaintext)             else:                 assert False   