import org.scalatest._

class LeapTest extends FunSuite {
  test ("vanilla leap year") {
    assert(Year(1996).isLeap)
  }

  test ("any old year") {
    pending
    assert(!Year(1997).isLeap)
  }

  test("an even year") {
    pending
    assert(!Year(1986).isLeap)
  }

  test ("century") {
    pending
    assert(!Year(1900).isLeap)
  }

  test ("exceptional century") {
    pending
    assert(Year(2000).isLeap)
  }

  test("exceptional century that is no millenium") {
    pending
    assert(Year(1600).isLeap)
  }
}

import org.scalatest._

class LeapTest extends FunSuite {
  test ("vanilla leap year") {
    assert(Year(1996).isLeap)
  }

  test ("any old year") {
    pending
    assert(!Year(1997).isLeap)
  }

  test ("century") {
    pending
    assert(!Year(1900).isLeap)
  }

  test ("exceptional century") {
    pending
    assert(Year(2000).isLeap)
  }
}

--- 
+++ 
@@ -10,6 +10,11 @@
     assert(!Year(1997).isLeap)
   }
 
+  test("an even year") {
+    pending
+    assert(!Year(1986).isLeap)
+  }
+
   test ("century") {
     pending
     assert(!Year(1900).isLeap)
@@ -19,4 +24,9 @@
     pending
     assert(Year(2000).isLeap)
   }
+
+  test("exceptional century that is no millenium") {
+    pending
+    assert(Year(1600).isLeap)
+  }
 }
Add tests to Leap exercise

The former tests made it able to pass with a very faulty implementation
that seems a bit more intuitive if you don't know about leap years; such as:

* Checking for even years except those years divisible by 4
* Checking for milleniums except those centuries divisible by 400
