This commit is contained in:
James Cole
2018-01-02 06:39:34 +01:00
parent 09bd55675d
commit 6713597621
2 changed files with 30 additions and 7 deletions

View File

@@ -150,6 +150,11 @@ class AmountTest extends TestCase
'0.115' => '0.115',
'-0.115' => '-0.115',
'1.33' => '1.33',
'$1.23' => '1.23',
'€1,44' => '1.44',
'(33.52)' => '-33.52',
'€(63.12)' => '-63.12',
'($182.77)' => '-182.77',
];
foreach ($values as $value => $expected) {
$converter = new Amount;