fix tests and gamma impl

This commit is contained in:
Dennis Eichhorn 2020-05-10 10:49:56 +02:00
parent 2070985e32
commit 0bc4abc285
2 changed files with 7 additions and 1 deletions

View File

@ -130,7 +130,7 @@ final class Gamma
static $approx = [ static $approx = [
76.18009172947146,-86.50532032941677, 76.18009172947146,-86.50532032941677,
24.01409824083091,-1.231739572450155, 24.01409824083091,-1.231739572450155,
0.1208650973866179e-2,-0.5395239384953e-5 0.1208650973866179e-2,-0.5395239384953e-5,
]; ];
$y = $z; $y = $z;

View File

@ -28,6 +28,7 @@ class CurrencyTest extends \PHPUnit\Framework\TestCase
* @testdox A currency can be converted from euro to another currency * @testdox A currency can be converted from euro to another currency
* @covers phpOMS\Utils\Converter\Currency * @covers phpOMS\Utils\Converter\Currency
* @group framework * @group framework
* @group maybe
*/ */
public function testCurrencyFromEur() : void public function testCurrencyFromEur() : void
{ {
@ -38,6 +39,7 @@ class CurrencyTest extends \PHPUnit\Framework\TestCase
* @testdox A currency can be converted to euro from another currency * @testdox A currency can be converted to euro from another currency
* @covers phpOMS\Utils\Converter\Currency * @covers phpOMS\Utils\Converter\Currency
* @group framework * @group framework
* @group maybe
*/ */
public function testCurrencyToEur() : void public function testCurrencyToEur() : void
{ {
@ -48,6 +50,7 @@ class CurrencyTest extends \PHPUnit\Framework\TestCase
* @testdox A currency can be converted from one currency to another currency * @testdox A currency can be converted from one currency to another currency
* @covers phpOMS\Utils\Converter\Currency * @covers phpOMS\Utils\Converter\Currency
* @group framework * @group framework
* @group maybe
*/ */
public function testCurrency() : void public function testCurrency() : void
{ {
@ -59,6 +62,7 @@ class CurrencyTest extends \PHPUnit\Framework\TestCase
* @testdox A currency conversion from eur to a invalid currency throws a InvalidArgumentException * @testdox A currency conversion from eur to a invalid currency throws a InvalidArgumentException
* @covers phpOMS\Utils\Converter\Currency * @covers phpOMS\Utils\Converter\Currency
* @group framework * @group framework
* @group maybe
*/ */
public function testInvalidFromEur() : void public function testInvalidFromEur() : void
{ {
@ -71,6 +75,7 @@ class CurrencyTest extends \PHPUnit\Framework\TestCase
* @testdox A currency conversion from a invalid currency to eur throws a InvalidArgumentException * @testdox A currency conversion from a invalid currency to eur throws a InvalidArgumentException
* @covers phpOMS\Utils\Converter\Currency * @covers phpOMS\Utils\Converter\Currency
* @group framework * @group framework
* @group maybe
*/ */
public function testInvalidToEur() : void public function testInvalidToEur() : void
{ {
@ -83,6 +88,7 @@ class CurrencyTest extends \PHPUnit\Framework\TestCase
* @testdox A currency conversion from a invalid currency to a invalid currency throws a InvalidArgumentException * @testdox A currency conversion from a invalid currency to a invalid currency throws a InvalidArgumentException
* @covers phpOMS\Utils\Converter\Currency * @covers phpOMS\Utils\Converter\Currency
* @group framework * @group framework
* @group maybe
*/ */
public function testInvalidConvert() : void public function testInvalidConvert() : void
{ {