REFACTOR: extract logic and remove loop

This commit is contained in:
fiatcode 2026-02-10 08:39:34 +07:00
parent 5c9962eb61
commit c1a5ed7ed7
2 changed files with 17 additions and 17 deletions

View file

@ -14,11 +14,11 @@ void main() {
expect(roman_numerals.integerToRoman(3), 'III');
});
test('converts 5 to V', () {
expect(roman_numerals.integerToRoman(5), 'V');
});
test('converts 4 to IV', () {
expect(roman_numerals.integerToRoman(4), 'IV');
});
test('converts 5 to V', () {
expect(roman_numerals.integerToRoman(5), 'V');
});
}