tracks/scala/exercises/roman-numerals/src/test/scala/RomanNumeralsTest.scala in trackler-2.2.1.110 vs tracks/scala/exercises/roman-numerals/src/test/scala/RomanNumeralsTest.scala in trackler-2.2.1.111
- old
+ new
@@ -1,8 +1,8 @@
import org.scalatest.{Matchers, FunSuite}
-/** @version 1.0.0 */
+/** @version 1.2.0 */
class RomanNumeralsTest extends FunSuite with Matchers {
test("1 is a single I") {
RomanNumerals.roman(1) should be ("I")
}
@@ -43,9 +43,14 @@
}
test("48 is not 50 - 2 but rather 40 + 8") {
pending
RomanNumerals.roman(48) should be ("XLVIII")
+ }
+
+ test("49 is not 40 + 5 + 4 but rather 50 - 10 + 10 - 1") {
+ pending
+ RomanNumerals.roman(49) should be ("XLIX")
}
test("50 is a single L") {
pending
RomanNumerals.roman(59) should be ("LIX")
\ No newline at end of file