Add test case for IntegerToRoman (#3676)

This commit is contained in:
harshalkhachane 2022-10-26 18:33:04 +05:30 committed by GitHub
parent eecec0f706
commit 0365afa16a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,14 @@
package com.thealgorithms.conversions;
import static org.junit.jupiter.api.Assertions.*;
import org.junit.jupiter.api.Test;
public class IntegerToRomanTest {
@Test
public void testIntegerToRoman() {
assertEquals("MCMXCIV", IntegerToRoman.integerToRoman(1994));
assertEquals("LVIII", IntegerToRoman.integerToRoman(58));
}
}