Created
September 21, 2010 02:45
-
-
Save nhajratw/589109 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.chikli.st | |
import org.junit.runner.RunWith | |
import org.scalatest.{FeatureSpec, GivenWhenThen} | |
import org.scalatest.junit.JUnitRunner | |
@RunWith(classOf[JUnitRunner]) | |
class GolSpec extends FeatureSpec with GivenWhenThen { | |
feature("a cell with zero neighbors dies in the next generation") { | |
given("a cell with zero neighbors") | |
val cell = 1 | |
when("the generation evolves") | |
evolve | |
then("the cell dies") | |
assert(true) | |
} | |
def evolve = { println("evolving...") } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment