Ox.formatRoman: add test

This commit is contained in:
rolux 2012-06-20 12:03:10 +02:00
parent c68af487c5
commit bbf72ab0c7

View file

@ -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)