Skip to content

RomanFigure.Spec.Value

Daniel Gonzalez Garcia edited this page May 5, 2017 · 2 revisions

Story: Value tester

As a library user
I want to be able to invoke a property on a roman figure
So that I can get the integral values of individual figures

value of a figure

Given the roman figure I
When the value is obtained
Then the value is 1

Tags: RomanFigure, Value

value of a figure

Given the roman figure V
When the value is obtained
Then the value is 5

Tags: RomanFigure, Value

value of a figure

Given the roman figure X
When the value is obtained
Then the value is 10

Tags: RomanFigure, Value

value of a figure

Given the roman figure L
When the value is obtained
Then the value is 50

Tags: RomanFigure, Value

value of a figure

Given the roman figure C
When the value is obtained
Then the value is 100

Tags: RomanFigure, Value

value of a figure

Given the roman figure D
When the value is obtained
Then the value is 500

Tags: RomanFigure, Value

value of a figure

Given the roman figure M
When the value is obtained
Then the value is 1000

Tags: RomanFigure, Value

Clone this wiki locally