GREEN: return hardcoded "II" for 2
This commit is contained in:
parent
a4e6689427
commit
48b8967e0f
1 changed files with 8 additions and 1 deletions
|
|
@ -1,3 +1,10 @@
|
|||
String integerToRoman(int number) {
|
||||
if (number == 1) {
|
||||
return 'I';
|
||||
}
|
||||
if (number == 2) {
|
||||
return 'II';
|
||||
}
|
||||
|
||||
throw UnimplementedError('Conversion not implemented for $number');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue