1
exercism fetch scala zebra-puzzle

src/test/scala/ZebraPuzzleTest.scala

1
2
3
4
5
6
7
8
9
10
11
12
import org.scalatest.{FunSuite, Matchers}

import ZebraPuzzle._

/** @version created manually **/
class ZebraPuzzleTest extends FunSuite with Matchers {
  test("solve the Zebra Puzzle") {
    ZebraPuzzle.solve should be (
        Solution(waterDrinker = Norwegian,
                 zebraOwner = Japanese))
  }
}