Skip to content
Permalink
Browse files

First passing test: 1 is written as I

  • Loading branch information
michaelbannister committed Jul 3, 2016
1 parent b9f376f commit 79ffb3f3bae91fc896600f0b9296bef84c1d7bc7
Showing with 13 additions and 0 deletions.
  1. +3 −0 src/main/kotlin/RomanNumerals.kt
  2. +10 −0 src/test/kotlin/DecimalToRomanConverterTest.kt
@@ -0,0 +1,3 @@
fun Int.toRoman(): String {
return "I"
}
@@ -0,0 +1,10 @@
import org.junit.Test
import kotlin.test.assertEquals

class DecimalToRomanConverterTest {

@Test fun `1 is written as I`() {
assertEquals("I", 1.toRoman())
}
}

0 comments on commit 79ffb3f

Please sign in to comment.
You can’t perform that action at this time.