]> git.mxchange.org Git - friendica.git/commitdiff
Remove unneeded TextTest class
authorPhilipp Holzer <admin+github@philipp.info>
Wed, 23 Oct 2019 00:50:09 +0000 (02:50 +0200)
committerPhilipp Holzer <admin+github@philipp.info>
Wed, 23 Oct 2019 00:50:09 +0000 (02:50 +0200)
tests/include/TextTest.php [deleted file]

diff --git a/tests/include/TextTest.php b/tests/include/TextTest.php
deleted file mode 100644 (file)
index e41b71b..0000000
+++ /dev/null
@@ -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)));
-       }
-}