diff options
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/kotlin/moe/nea/ledger/NumberUtilKtTest.kt | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/test/kotlin/moe/nea/ledger/NumberUtilKtTest.kt b/src/test/kotlin/moe/nea/ledger/NumberUtilKtTest.kt deleted file mode 100644 index 4068a42..0000000 --- a/src/test/kotlin/moe/nea/ledger/NumberUtilKtTest.kt +++ /dev/null @@ -1,17 +0,0 @@ -package moe.nea.ledger - -import org.junit.jupiter.api.Assertions.assertEquals -import org.junit.jupiter.api.Test - -class NumberUtilKtTest { - @Test - fun parseRomanNumberTest() { - assertEquals(4, parseRomanNumber("IV")) - assertEquals(1, parseRomanNumber("I")) - assertEquals(14, parseRomanNumber("XIV")) - assertEquals(3, parseRomanNumber("III")) - assertEquals(8, parseRomanNumber("IIX")) - assertEquals(500, parseRomanNumber("DM")) - assertEquals(2024, parseRomanNumber("MMXXIV")) - } -}
\ No newline at end of file |