From 0365afa16a45753d7e021666b5bd6597ed2a8b8f Mon Sep 17 00:00:00 2001 From: harshalkhachane <92866584+harshalkhachane@users.noreply.github.com> Date: Wed, 26 Oct 2022 18:33:04 +0530 Subject: [PATCH] Add test case for IntegerToRoman (#3676) --- .../conversions/IntegerToRomanTest.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/test/java/com/thealgorithms/conversions/IntegerToRomanTest.java diff --git a/src/test/java/com/thealgorithms/conversions/IntegerToRomanTest.java b/src/test/java/com/thealgorithms/conversions/IntegerToRomanTest.java new file mode 100644 index 00000000..046b0075 --- /dev/null +++ b/src/test/java/com/thealgorithms/conversions/IntegerToRomanTest.java @@ -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)); + } +}