1234567 |
- Describe(basic_tests)
- {
- It(test1){Assert::That(atbash("abcdefghijklmnopqrstuvwxyz"), Equals("zyxwvutsrqponmlkjihgfedcba"));}
- It(test2){Assert::That(atbash("ABCDEFGHIJKLMNOPQRSTUVWXYZ"), Equals("ZYXWVUTSRQPONMLKJIHGFEDCBA"));}
- It(test3){Assert::That(atbash("The word 'atbash' derives from the the first and last 2 letters of the Hebrew alphabet."), Equals("Gsv dliw 'zgyzhs' wvirevh uiln gsv gsv urihg zmw ozhg 2 ovggvih lu gsv Svyivd zokszyvg."));}
- It(test4){Assert::That(atbash("Vmxibkgrlm zmw wvxibkgrlm ziv rwvmgrxzo uli gsv Zgyzhs xrksvi."), Equals("Encryption and decryption are identical for the Atbash cipher."));}
- };
|