-
Notifications
You must be signed in to change notification settings - Fork 1
RomanFigure.Spec.Parse
As a library user
I want to be able to parse text
So that I can get a roman figure instance
Given the character X
the char X is parsed again
Then is the same figure
Tags: RomanFigure, Parse, char
Given the string X
the string X is parsed again
Then is the same figure
Tags: RomanFigure, Parse, char
Given the character I
When the char is parsed
Then the figure is I
Tags: RomanFigure, Parse, char
Given the string I
When the string is parsed
Then the figure is I
Tags: RomanFigure, Parse, char
Given the string XI
When the string is parsed
Then throws format exception
Tags: RomanFigure, Parse, char
Given the character W
When the char is parsed
Then throws argument exception
Tags: RomanFigure, Parse, char
Given the string W
When the string is parsed
Then throws argument exception
Tags: RomanFigure, Parse, char