Update tests/MonoAlphabeticCipherTest.php encrypt test function

Co-authored-by: Brandon Johnson <bbj1979@gmail.com>
This commit is contained in:
YvonneChong18 2022-07-27 18:52:07 +08:00 committed by GitHub
parent 9e10db292e
commit 9b72bd9f0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,8 @@ class MonoAlphabeticCipherTest extends TestCase
$text = "I love1234 GitHub";
$encryptedText = "O ambg XojFdh";
assertEquals(encrypt($key, $alphabet, $text), $encryptedText);
assertEquals(maEncrypt($key, $alphabet, $text), $encryptedText);
assertEquals(decrypt($key, $alphabet, $encryptedText), "I love GitHub");
}
}