mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-27 22:43:30 +08:00
15 lines
355 B
Java
15 lines
355 B
Java
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));
|
|
}
|
|
}
|