-
Notifications
You must be signed in to change notification settings - Fork 1
RomanFigure.Spec.TryParse
As a library user
I want to be able to try to parse text
So that I can get a figure instance
Given the string X
When the string is parsed
the string X is parsed again
Then is the same figure
Tags: RomanFigure, TryParse, string
Given the character X
When the char is parsed
the char X is parsed again
Then is the same figure
Tags: RomanFigure, TryParse, string
Given the string I
When the string is parsed
Then the result is True
And the figure is I
Tags: RomanFigure, TryParse, string
Given the character I
When the char is parsed
Then the result is True
And the figure is I
Tags: RomanFigure, TryParse, string
Given the string W
When the string is parsed
Then the result is False
And the figure is 'null'
Tags: RomanFigure, TryParse, string
Given the character W
When the char is parsed
Then the result is False
And the figure is 'null'
Tags: RomanFigure, TryParse, string