mirror of
https://github.com/TheAlgorithms/PHP.git
synced 2025-07-10 11:36:21 +02:00
15 lines
313 B
PHP
15 lines
313 B
PHP
<?php
|
|
|
|
use PHPUnit\Framework\TestCase;
|
|
|
|
require_once __DIR__ . '/../../vendor/autoload.php';
|
|
require_once __DIR__ . '/../../Ciphers/MorseCode.php';
|
|
|
|
class MorseCodeTest extends TestCase
|
|
{
|
|
public function testMorseCodeCipher()
|
|
{
|
|
$this->assertEquals('TEST 123', decode(encode('TEST 123')));
|
|
}
|
|
}
|