Browse Source

Remove unneeded TextTest class

pull/7765/head
Philipp Holzer 1 month ago
parent
commit
f9f2c9e4b2
No account linked to committer's email address
1 changed files with 0 additions and 26 deletions
  1. 0
    26
      tests/include/TextTest.php

+ 0
- 26
tests/include/TextTest.php 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)));
}
}

Loading…
Cancel
Save