-
Notifications
You must be signed in to change notification settings - Fork 1
RomanNumeral.Spec.Comparisons
As a library user
I want to use comparison methods and operators
So that I can tell the larger of two roman numerals
Given the roman numeral 'null'
'<' is evaluated against N
Then is True
Tags: RomanNumeral, Comparisons, less than
Given the roman numeral 'null'
'<=' is evaluated against N
Then is True
Tags: RomanNumeral, Comparisons, less than
Given the roman numeral 'null'
'>=' is evaluated against N
Then is False
Tags: RomanNumeral, Comparisons, less than
Given the roman numeral 'null'
'>' is evaluated against N
Then is False
Tags: RomanNumeral, Comparisons, less than
Given the roman numeral N
When compared to 'null'
Then is greater than zero
Tags: RomanNumeral, Comparisons, less than
Given the roman numeral N
'<' is evaluated against 'null'
Then is False
Tags: RomanNumeral, Comparisons, less than
Given the roman numeral N
'<=' is evaluated against 'null'
Then is False
Tags: RomanNumeral, Comparisons, less than
Given the roman numeral N
'>' is evaluated against 'null'
Then is True
Tags: RomanNumeral, Comparisons, less than
Given the roman numeral N
'>' is evaluated against 'null'
Then is True
Tags: RomanNumeral, Comparisons, less than
Given the roman numeral X
'<' is evaluated against X
Then is False
Tags: RomanNumeral, Comparisons, less than
Given the roman numeral X
'<=' is evaluated against X
Then is True
Tags: RomanNumeral, Comparisons, less than
Given the roman numeral XI
'>=' is evaluated against XI
Then is True
Tags: RomanNumeral, Comparisons, less than
Given the roman numeral X
When compared to X
Then is zero
Tags: RomanNumeral, Comparisons, less than
Given the roman numeral X
'>' is evaluated against X
Then is False
Tags: RomanNumeral, Comparisons, less than
Given the roman numeral V
'<' is evaluated against I
Then is False
Tags: RomanNumeral, Comparisons, less than
Given the roman numeral V
'<=' is evaluated against I
Then is False
Tags: RomanNumeral, Comparisons, less than
Given the roman numeral V
'>=' is evaluated against I
Then is True
Tags: RomanNumeral, Comparisons, less than
Given the roman numeral V
When compared to I
Then is greater than zero
Tags: RomanNumeral, Comparisons, less than
Given the roman numeral V
'>' is evaluated against I
Then is True
Tags: RomanNumeral, Comparisons, less than
Given the roman numeral I
'<' is evaluated against X
Then is True
Tags: RomanNumeral, Comparisons, less than
Given the roman numeral I
'<=' is evaluated against X
Then is True
Tags: RomanNumeral, Comparisons, less than
Given the roman numeral I
'>=' is evaluated against XI
Then is False
Tags: RomanNumeral, Comparisons, less than
Given the roman numeral I
When compared to X
Then is less than zero
Tags: RomanNumeral, Comparisons, less than
Given the roman numeral N
'>' is evaluated against I
Then is False
Tags: RomanNumeral, Comparisons, less than