Ox.formatRoman: add test
This commit is contained in:
parent
c68af487c5
commit
bbf72ab0c7
1 changed files with 4 additions and 2 deletions
|
@ -637,8 +637,10 @@ Ox.formatRoman <f> Formats a number as a roman numeral
|
||||||
'MDCCCLXXXVIII'
|
'MDCCCLXXXVIII'
|
||||||
> Ox.formatRoman(1999)
|
> Ox.formatRoman(1999)
|
||||||
'MCMXCIX'
|
'MCMXCIX'
|
||||||
> Ox.formatRoman(2002)
|
> Ox.formatRoman(2000)
|
||||||
'MMII'
|
'MM'
|
||||||
|
> Ox.formatRoman(-1)
|
||||||
|
''
|
||||||
> Ox.formatRoman(0)
|
> Ox.formatRoman(0)
|
||||||
''
|
''
|
||||||
> Ox.formatRoman(9.9)
|
> Ox.formatRoman(9.9)
|
||||||
|
|
Loading…
Reference in a new issue