mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 17:58:41 +00:00
fix tests and gamma impl
This commit is contained in:
parent
2070985e32
commit
0bc4abc285
|
|
@ -130,7 +130,7 @@ final class Gamma
|
|||
static $approx = [
|
||||
76.18009172947146,-86.50532032941677,
|
||||
24.01409824083091,-1.231739572450155,
|
||||
0.1208650973866179e-2,-0.5395239384953e-5
|
||||
0.1208650973866179e-2,-0.5395239384953e-5,
|
||||
];
|
||||
|
||||
$y = $z;
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@ class CurrencyTest extends \PHPUnit\Framework\TestCase
|
|||
* @testdox A currency can be converted from euro to another currency
|
||||
* @covers phpOMS\Utils\Converter\Currency
|
||||
* @group framework
|
||||
* @group maybe
|
||||
*/
|
||||
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
|
||||
* @covers phpOMS\Utils\Converter\Currency
|
||||
* @group framework
|
||||
* @group maybe
|
||||
*/
|
||||
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
|
||||
* @covers phpOMS\Utils\Converter\Currency
|
||||
* @group framework
|
||||
* @group maybe
|
||||
*/
|
||||
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
|
||||
* @covers phpOMS\Utils\Converter\Currency
|
||||
* @group framework
|
||||
* @group maybe
|
||||
*/
|
||||
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
|
||||
* @covers phpOMS\Utils\Converter\Currency
|
||||
* @group framework
|
||||
* @group maybe
|
||||
*/
|
||||
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
|
||||
* @covers phpOMS\Utils\Converter\Currency
|
||||
* @group framework
|
||||
* @group maybe
|
||||
*/
|
||||
public function testInvalidConvert() : void
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user