blib/lib/Finance/Currency/ParValueSeparate/RMB.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 5 | 6 | 83.3 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 4 | 75.0 |
pod | 0 | 3 | 0.0 |
total | 8 | 13 | 61.5 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Finance::Currency::ParValueSeparate::RMB; | ||||||
2 | 1 | 1 | 637 | use base 'Finance::Currency::ParValueSeparate'; | |||
1 | 2 | ||||||
1 | 1148 | ||||||
3 | |||||||
4 | 0 | 0 | 0 | 0 | sub currency_name { 'RMB' } | ||
5 | sub dollar { | ||||||
6 | 14 | 14 | 0 | 57 | return qw( 100 50 20 10 5 2 1 ); | ||
7 | } | ||||||
8 | sub cent { | ||||||
9 | 10 | 10 | 0 | 39 | return qw( 50 20 10 5 2 1 ); | ||
10 | } | ||||||
11 | |||||||
12 | 1; |