64 std::string text =
"Hello World";
65 std::string expected =
"Svool Dliow";
66 std::string encrypted_text = ciphers::atbash::atbash_cipher(text);
67 std::string decrypted_text = ciphers::atbash::atbash_cipher(encrypted_text);
68 assert(expected == encrypted_text);
69 assert(text == decrypted_text);
70 std::cout <<
"Original text: " << text << std::endl;
71 std::cout <<
", Expected text: " << expected << std::endl;
72 std::cout <<
", Encrypted text: " << encrypted_text << std::endl;
73 std::cout <<
", Decrypted text: " << decrypted_text << std::endl;
74 std::cout <<
"\nAll tests have successfully passed!\n";