Skip to content

RomanNumeral.Spec.Equality

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

Story: roman numeral equality

As a library user
I want to use equality methods and operands
So that I can check the equality of two roman numerals

a roman numeral is compared against a boxed int with the same value

Given the roman numeral V
When compared to 5
Then is False

Tags: RomanNumeral, Equality, Non-generic

a roman numeral is compared against a boxed short with a different value

Given the roman numeral V
When compared to 10
Then is False

Tags: RomanNumeral, Equality, Non-generic

a roman numeral is compared against a boxed short with the same value

Given the roman numeral V
When compared to 5
Then is False

Tags: RomanNumeral, Equality, Non-generic

a roman numeral is compared against another objectified figure

Given the roman numeral V
When compared to C
Then is False

Tags: RomanNumeral, Equality, Non-generic

a roman numeral is compared against another objectified numeral

Given the roman numeral V
When compared to X
Then is False

Tags: RomanNumeral, Equality, Non-generic

a roman numeral is compared against not the same roman numeral

Given the roman numeral V
When compared to XV
Then is False

Tags: RomanNumeral, Equality, Non-generic

a roman numeral is compared against not the same roman numeral

Given the roman numeral V
When equal to XV
Then is False

Tags: RomanNumeral, Equality, Non-generic

a roman numeral is compared against not the same roman numeral

Given the roman numeral V
When not equal to XV
Then is True

Tags: RomanNumeral, Equality, Non-generic

a roman numeral is compared against null

Given the roman numeral V
When compared to 'null'
Then is False

Tags: RomanNumeral, Equality, Non-generic

a roman numeral is compared against null

Given the roman numeral N
When equal to 'null'
Then is False

Tags: RomanNumeral, Equality, Non-generic

a roman numeral is compared against null

Given the roman numeral V
When not equal to 'null'
Then is True

Tags: RomanNumeral, Equality, Non-generic

a roman numeral is compared against null

Given the roman numeral V
When compared to 'null'
Then is False

Tags: RomanNumeral, Equality, Non-generic

a roman numeral is compared against the same objectified figure

Given the roman numeral V
When compared to V
Then is False

Tags: RomanNumeral, Equality, Non-generic

a roman numeral is compared against the same objectified numeral

Given the roman numeral V
When compared to V
Then is True

Tags: RomanNumeral, Equality, Non-generic

a roman numeral is compared against the same roman numeral

Given the roman numeral V
When compared to V
Then is True

Tags: RomanNumeral, Equality, Non-generic

a roman numeral is compared against the same roman numeral

Given the roman numeral V
When equal to V
Then is True

Tags: RomanNumeral, Equality, Non-generic

a roman numeral is compared against the same roman numeral

Given the roman numeral V
When not equal to V
Then is False

Tags: RomanNumeral, Equality, Non-generic

null is compared against a roman numeral

Given the roman numeral 'null'
When equal to N
Then is False

Tags: RomanNumeral, Equality, Non-generic

null is compared against a roman numeral

Given the roman numeral 'null'
When not equal to V
Then is True

Tags: RomanNumeral, Equality, Non-generic

null is compared against null

Given the roman numeral 'null'
When equal to 'null'
Then is True

Tags: RomanNumeral, Equality, Non-generic

null is compared against null

Given the roman numeral 'null'
When not equal to 'null'
Then is False

Tags: RomanNumeral, Equality, Non-generic

Clone this wiki locally