litesoft
Diff Revisions
150
vs
151
for /trunk/Java/core/Server/tests/org/litesoft/core/simpletypes/SimpleCurrencyTest.java
|
@@ -5,8 +5,7 @@ |
5 |
5 |
|
|
6 |
6 |
|
import org.litesoft.core.simpletypes.currency.*; |
7 |
7 |
|
|
8 |
|
- |
public class SimpleCurrencyTest |
9 |
|
- |
extends TestCase |
|
8 |
+ |
public class SimpleCurrencyTest extends TestCase |
10 |
9 |
|
{ |
11 |
10 |
|
public static TestSuite suite() |
12 |
11 |
|
{ |
|
@@ -27,9 +26,9 @@ |
27 |
26 |
|
throws Exception |
28 |
27 |
|
{ |
29 |
28 |
|
chk( "USD.2|#,###.#", SimpleCurrency.US ); |
30 |
|
- |
chk( "CAD.2|# ###,#", new SimpleCurrency("CAD", 2, NumericFormatControl.SPACE_COMMA ) ); |
|
29 |
+ |
chk( "CAD.2|# ###,#", new SimpleCurrency( "CAD", 2, NumericFormatControl.SPACE_COMMA ) ); |
31 |
30 |
|
chk( "EUR.2|# ###,### #", new SimpleCurrency( "EUR", 2, NumericFormatControl.SPACE_COMMA_SPACE ) ); |
32 |
|
- |
chk( "ZZZ.0|#'###,###'#", new SimpleCurrency( "ZZZ", 0, new NumericFormatControl( '\'', ',', true) ) ); |
|
31 |
+ |
chk( "ZZZ.0|#'###,###'#", new SimpleCurrency( "ZZZ", 0, new NumericFormatControl( '\'', ',', true ) ) ); |
33 |
32 |
|
} |
34 |
33 |
|
|
35 |
34 |
|
private void chk( String pDesicated, SimpleCurrency pCurrency ) |