mirror of
https://github.com/DerTyp7/roman-char-converter-java.git
synced 2025-10-29 12:52:11 +01:00
rename package
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
package com.tf.romanCharConverter;
|
||||
package de.tf.romanCharConverter;
|
||||
|
||||
import java.util.HashMap;
|
||||
|
||||
@@ -29,6 +29,7 @@ public class RomanCharConverter {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
result += this.romanToArabic.get(romanChar);
|
||||
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.tf.romanCharConverter;
|
||||
package de.tf.romanCharConverter;
|
||||
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Test;
|
||||
@@ -39,7 +39,7 @@ public class RomanCharConverterTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void givenMultipleRomanSubstractChar_whenConvert_thenArabic(){
|
||||
public void givenMultipleRomanSubtractChar_whenConvert_thenArabic(){
|
||||
assertEquals(4, converter.convert("IV"));
|
||||
assertEquals(9, converter.convert("IX"));
|
||||
assertEquals(40, converter.convert("XL"));
|
||||
Reference in New Issue
Block a user