We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23949ca commit 8504e6aCopy full SHA for 8504e6a
src/test/java/com/thealgorithms/conversions/RomanToIntegerTest.java
@@ -0,0 +1,14 @@
1
+package com.thealgorithms.conversions;
2
+
3
+import org.junit.jupiter.api.Test;
4
5
+import static org.junit.jupiter.api.Assertions.assertEquals;
6
7
+public class RomanToIntegerTest {
8
9
+ @Test
10
+ public void testRomanToInteger() {
11
+ assertEquals(1994, RomanToInteger.romanToInt("MCMXCIV"));
12
+ assertEquals(58, RomanToInteger.romanToInt("LVIII"));
13
+ }
14
+}
0 commit comments