fengyuanyang / JavaTDD

A repo to encourage beginner or improve your coding skill with Java Test Driven Development.You are welcome to contribute or file issues
10 stars 40 forks source link

[TDD] Kata - Roman Numerals -> Numbers #73

Open fengyuanyang opened 3 years ago

fengyuanyang commented 3 years ago

Description Provide a converter, convert from Roman Numerals to normal numbers Kata-Roman Numerals

Roman rules http://www.novaroma.org/via_romana/numbers.html

 I --> 1
 X --> 10
 VII --> 7
 XXXI -> 31

Tests

Given one parameter (string )
When input is "I"
Expect 1 return

When input is "X"
Expect 10 return

When input is "VII"
Expect 7 return

When input is "XXXI"
Expect 31 return

Additional context

Add any other context, links references or screenshots about the feature request here.

Important Checklist

seanevans-test commented 3 years ago

Hi, I'd like to take this issue

fengyuanyang commented 3 years ago

sure @seanevans-test assigned

seanevans-test commented 3 years ago

Brilliant, thank you

IlGrotta commented 3 years ago

Hi, I would like to work on this issue, also because I think find a way to convert roman numerals in an efficient and not-so-verbose way can be more interesting than expected. Thanks!

fengyuanyang commented 3 years ago

hi @IlGrotta Sure, 👍 assigned