mirror of
https://github.com/TheAlgorithms/PHP.git
synced 2025-01-30 05:17:34 +01:00
434e11cf6c
Co-authored-by: Brandon Johnson <bbj1979@gmail.com>
16 lines
344 B
PHP
16 lines
344 B
PHP
<?php
|
|
|
|
use function PHPUnit\Framework\assertEquals;
|
|
use PHPUnit\Framework\TestCase;
|
|
|
|
require_once __DIR__ . '/../vendor/autoload.php';
|
|
require_once __DIR__ . '/../ciphers/morseCode.php';
|
|
|
|
class MorseCodeTest extends TestCase
|
|
{
|
|
public function testCaesarCipher()
|
|
{
|
|
assertEquals('Test 123', decrypt(encrypt('Test 123')));
|
|
}
|
|
}
|