Skip to content

Commit b69d0da

Browse files
committed
Add tests for BigNumber::of()
1 parent d493693 commit b69d0da

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/BigDecimalTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ public function providerOf() : array
7272
['+.2', '2', 1],
7373
['-.33', '-33', 2],
7474
['1.e2', '100', 0],
75+
['.1e-1', '1', 2],
76+
['.1e0', '1', 1],
77+
['.1e1', '1', 0],
7578
['.1e2', '10', 0],
7679
['1.e-2', '1', 2],
7780
['.1e-2', '1', 3],

0 commit comments

Comments
 (0)