Skip to content

Commit 0365afa

Browse files
Add test case for IntegerToRoman (TheAlgorithms#3676)
1 parent eecec0f commit 0365afa

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package com.thealgorithms.conversions;
2+
3+
import static org.junit.jupiter.api.Assertions.*;
4+
5+
import org.junit.jupiter.api.Test;
6+
7+
public class IntegerToRomanTest {
8+
9+
@Test
10+
public void testIntegerToRoman() {
11+
assertEquals("MCMXCIV", IntegerToRoman.integerToRoman(1994));
12+
assertEquals("LVIII", IntegerToRoman.integerToRoman(58));
13+
}
14+
}

0 commit comments

Comments
 (0)