TheAlgorithms-PHP/tests/MorseCodeTest.php
Lukas 434e11cf6c
Renames Test
Co-authored-by: Brandon Johnson <bbj1979@gmail.com>
2022-01-29 10:41:45 -05:00

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')));
}
}