Skip to content

Commit

Permalink
Added Unit-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
brainz80 committed Feb 4, 2021
1 parent 7598b49 commit 3de92e8
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions tests/data/Style/NumberFormat.php
Original file line number Diff line number Diff line change
Expand Up @@ -342,4 +342,24 @@
25,
'[Green][<>25]"<>25 green";[Red]"else red"',
],
[
'pfx. 25.00',
25,
'"pfx." 0.00;"pfx." -0.00;"pfx." 0.00;',
],
[
'pfx. 25.20',
25.2,
'"pfx." 0.00;"pfx." -0.00;"pfx." 0.00;',
],
[
'pfx. -25.20',
-25.2,
'"pfx." 0.00;"pfx." -0.00;"pfx." 0.00;',
],
[
'pfx. 25.26',
25.255555555555555,
'"pfx." 0.00;"pfx." -0.00;"pfx." 0.00;',
],
];

0 comments on commit 3de92e8

Please sign in to comment.