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'
|
||||
> Ox.formatRoman(1999)
|
||||
'MCMXCIX'
|
||||
> Ox.formatRoman(2002)
|
||||
'MMII'
|
||||
> Ox.formatRoman(2000)
|
||||
'MM'
|
||||
> Ox.formatRoman(-1)
|
||||
''
|
||||
> Ox.formatRoman(0)
|
||||
''
|
||||
> Ox.formatRoman(9.9)
|
||||
|
|
Loading…
Reference in a new issue