Sha256: e59dd3b2561bcad96445f69ce4d388de255b188066bee177b9bb07110fb6dc42
Contents?: true
Size: 1.58 KB
Versions: 146
Compression:
Stored size: 1.58 KB
Contents
import org.scalatest.{Matchers, FlatSpec} class RaindropsTest extends FlatSpec with Matchers { it should "convert 1" in { Raindrops.convert(1) should equal("1") } it should "convert 3" in { pending Raindrops.convert(3) should equal("Pling") } it should "convert 5" in { pending Raindrops.convert(5) should equal("Plang") } it should "convert 7" in { pending Raindrops.convert(7) should equal("Plong") } it should "convert 6" in { pending Raindrops.convert(6) should equal("Pling") } it should "convert 9" in { pending Raindrops.convert(9) should equal("Pling") } it should "convert 10" in { pending Raindrops.convert(10) should equal("Plang") } it should "convert 14" in { pending Raindrops.convert(14) should equal("Plong") } it should "convert 15" in { pending Raindrops.convert(15) should equal("PlingPlang") } it should "convert 21" in { pending Raindrops.convert(21) should equal("PlingPlong") } it should "convert 25" in { pending Raindrops.convert(25) should equal("Plang") } it should "convert 35" in { pending Raindrops.convert(35) should equal("PlangPlong") } it should "convert 49" in { pending Raindrops.convert(49) should equal("Plong") } it should "convert 52" in { pending Raindrops.convert(52) should equal("52") } it should "convert 105" in { pending Raindrops.convert(105) should equal("PlingPlangPlong") } it should "convert 12121" in { pending Raindrops.convert(12121) should equal("12121") } }
Version data entries
146 entries across 146 versions & 1 rubygems