Permalink
Browse files

Problem 007

  • Loading branch information...
1 parent 58e29f3 commit e5683288c7852de9db045d75d0a646c8303d4029 @bbucko committed Jan 29, 2012
@@ -0,0 +1,16 @@
+package pl.iogreen.euler
+
+
+class Problem007 {
+
+ def atkinSieve(n: Int): List[Int] = {
+ var result: List[Int] = 5 :: 3 :: 2 :: Nil
+ var sieve: List[Boolean] = List.fill(n)(false)
+ result
+ }
+
+ def resolve(n: Int): Int = {
+ 42
+ }
+
+}
@@ -0,0 +1,15 @@
+package pl.iogreen.euler
+
+import org.scalatest.FunSuite
+import org.junit.runner.RunWith
+import org.scalatest.junit.JUnitRunner
+
+@RunWith(classOf[JUnitRunner])
+class Problem007Test extends FunSuite {
+
+ val resolver = new Problem007()
+
+ test("generating primes") {
+
+ }
+}

0 comments on commit e568328

Please sign in to comment.