diff --git a/src/test/java/com/thealgorithms/conversions/RomanToIntegerTest.java b/src/test/java/com/thealgorithms/conversions/RomanToIntegerTest.java new file mode 100644 index 00000000..52eda44c --- /dev/null +++ b/src/test/java/com/thealgorithms/conversions/RomanToIntegerTest.java @@ -0,0 +1,14 @@ +package com.thealgorithms.conversions; + +import org.junit.jupiter.api.Test; + +import static org.junit.jupiter.api.Assertions.assertEquals; + +public class RomanToIntegerTest { + + @Test + public void testRomanToInteger() { + assertEquals(1994, RomanToInteger.romanToInt("MCMXCIV")); + assertEquals(58, RomanToInteger.romanToInt("LVIII")); + } +}