Created
February 20, 2016 21:36
-
-
Save rossharper/5c8fe130cac356075912 to your computer and use it in GitHub Desktop.
First two simple tests for Kotlin Roman Numerals Kata
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class RomanNumeralGeneratorTest { | |
private var generator: RomanNumeralGenerator = RomanNumeralGenerator() | |
@Test | |
fun shouldReturnIfor1() { | |
assertThat(generator.arabicToRoman(1), equalTo("I")); | |
} | |
@Test | |
fun shouldReturnIIfor2() { | |
assertThat(generator.arabicToRoman(2), equalTo("II")); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment