Sha256: 4ac71ec14ebe455d81544a45dfc9d2fe08d82b4605908371d54e61052ca4f95a
Contents?: true
Size: 639 Bytes
Versions: 22
Compression:
Stored size: 639 Bytes
Contents
import org.scalatest.{Matchers, FlatSpec} class PrimeTest extends FlatSpec with Matchers { it should "calculate 1st prime" in { Prime.nth(1) should be (2) } it should "calculate 2nd prime" in { pending Prime.nth(2) should be (3) } it should "calculate 6th prime" in { pending Prime.nth(6) should be (13) } it should "calculate 1000th prime" in { pending Prime.nth(1000) should be (7919) } it should "calculate 10000th prime" in { pending Prime.nth(10000) should be (104729) } it should "calculate 10001th prime" in { pending Prime.nth(10001) should be (104743) } }
Version data entries
22 entries across 22 versions & 1 rubygems