Skip to content

Commit

Permalink
Add test case for IntegerToRoman (TheAlgorithms#3676)
Browse files Browse the repository at this point in the history
  • Loading branch information
harshalkhachane authored Oct 26, 2022
1 parent eecec0f commit 0365afa
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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));
}
}

0 comments on commit 0365afa

Please sign in to comment.