Expand fix for #1059 [skip ci]

This commit is contained in:
James Cole 2017-12-19 21:56:29 +01:00
parent 46f894c09b
commit 62a4af8607
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -139,6 +139,17 @@ class AmountTest extends TestCase
'63 5212.4440' => '635212.444',
'163 5219.1634567898' => '1635219.1634567898',
'444 163 5219.1634567898' => '4441635219.1634567898',
'-0.34918323' => '-0.34918323',
'0.208' => '0.208',
'-0.15' => '-0.15',
'-0.03881677' => '-0.03881677',
'0.33' => '0.33',
'-0.1' => '-0.1',
'0.01124' => '0.01124',
'-0.01124' => '-0.01124',
'0.115' => '0.115',
'-0.115' => '-0.115',
'1.33' => '1.33',
];
foreach ($values as $value => $expected) {
$converter = new Amount;