TheAlgorithms-PHP/tests/MorseCodeTest.php

16 lines
344 B
PHP
Raw Normal View History

2022-01-26 14:27:39 -05:00
<?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
2022-01-26 14:27:39 -05:00
{
public function testCaesarCipher()
{
assertEquals('Test 123', decrypt(encrypt('Test 123')));
}
}