mirror of
https://github.com/TheAlgorithms/PHP.git
synced 2025-01-17 07:08:13 +01:00
Update tests/MonoAlphabeticCipherTest.php encrypt test function
Co-authored-by: Brandon Johnson <bbj1979@gmail.com>
This commit is contained in:
parent
9e10db292e
commit
9b72bd9f0a
@ -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");
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user