-
Notifications
You must be signed in to change notification settings - Fork 1
RomanNumeral.Spec.Instantiation
As a library user
I want to be able to create an instance of a roman numeral from an arabic number or have direct access to peculiar numerals
So that I can have an instance of a roman numeral
the 'Max' roman numeral
When it is accessed
Then is a roman numeral with value 3999
Tags: RomanNumeral, Creation, Peculiar
the 'Min' roman numeral
When it is accessed
Then is a roman numeral with value 0
Tags: RomanNumeral, Creation, Peculiar
Given the arabic numeral 75
When the roman numeral is instantiated
Then is a roman numeral with value 75
Tags: RomanNumeral, Creation, Peculiar
Given the arabic numeral -20
When the roman numeral is instantiating
Then a range exception is thrown
Tags: RomanNumeral, Creation, Peculiar
Given the arabic numeral 4001
When the roman numeral is instantiating
Then a range exception is thrown
Tags: RomanNumeral, Creation, Peculiar
Given the arabic numeral 50
When the roman numeral is instantiated
Then is a roman numeral with value 50
Tags: RomanNumeral, Creation, Peculiar
Given the arabic numeral 0
When the roman numeral is instantiated
Then is a roman numeral with value 0
Tags: RomanNumeral, Creation, Peculiar
the 'Zero' roman numeral
When it is accessed
Then is a roman numeral with value 0
Tags: RomanNumeral, Creation, Peculiar