PHPunit tests adds and updates

This commit is contained in:
Clemens Schwaighofer
2022-01-12 20:27:13 +09:00
parent 7fd5062064
commit 4363f289fc
30 changed files with 1636 additions and 42 deletions

View File

@@ -11,7 +11,8 @@ use PHPUnit\Framework\TestCase;
/**
* Test class for Convert\Byte
* @testdox CoreLibs\Convert\Byte method tests
* @coversDefaultClass \CoreLibs\Convert\Byte
* @testdox \CoreLibs\Convert\Byte method tests
*/
final class CoreLibsConvertByteTest extends TestCase
{
@@ -143,6 +144,7 @@ final class CoreLibsConvertByteTest extends TestCase
/**
* Undocumented function
*
* @covers ::humanReadableByteFormat
* @dataProvider byteProvider
* @testdox humanReadableByteFormat $input will be $expected, $expected_si SI, $expected_no_space no space, $expected_adjust adjust, $expected_si_no_space SI/no space [$_dataName]
*
@@ -195,6 +197,7 @@ final class CoreLibsConvertByteTest extends TestCase
/**
* Undocumented function
*
* @covers ::stringByteFormat
* @dataProvider byteStringProvider
* @testdox stringByteFormat $input will be $expected and $expected_si SI [$_dataName]
*