mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-12-19 07:00:35 +08:00
15 lines
366 B
Java
15 lines
366 B
Java
package com.thealgorithms.conversions;
|
|
|
|
import static org.junit.jupiter.api.Assertions.assertEquals;
|
|
|
|
import org.junit.jupiter.api.Test;
|
|
|
|
public class IntegerToRomanTest {
|
|
|
|
@Test
|
|
public void testIntegerToRoman() {
|
|
assertEquals("MCMXCIV", IntegerToRoman.integerToRoman(1994));
|
|
assertEquals("LVIII", IntegerToRoman.integerToRoman(58));
|
|
}
|
|
}
|