Remove unneeded TextTest class

This commit is contained in:
Philipp Holzer 2019-10-23 02:50:09 +02:00
parent edf006905b
commit f9f2c9e4b2
No known key found for this signature in database
GPG Key ID: D8365C3D36B77D90

View File

@ -1,26 +0,0 @@
<?php
/**
* TextTest class.
*/
namespace Friendica\Test;
use Friendica\Model\Group;
use PHPUnit\Framework\TestCase;
/**
* Tests for text functions.
*/
class TextTest extends TestCase
{
/**
* test hex2bin and reverse
*/
public function testHex2Bin()
{
$this->assertEquals(-3, hex2bin(bin2hex(-3)));
$this->assertEquals(0, hex2bin(bin2hex(0)));
$this->assertEquals(12, hex2bin(bin2hex(12)));
$this->assertEquals(PHP_INT_MAX, hex2bin(bin2hex(PHP_INT_MAX)));
}
}