This directory contains examples to demo various scala tools:
  scala linter, scalastyle, scalacheck and scalatest.

Read the Makefile for instructions for how to run them.

At first, the tools will report lots of errors in the code.

src/test/check.scala:
  Simple examples using scalacheck.

src/main/scala/dice.scala:
  A small but realistic scala program. It contains several bugs,
  some introduced on purpose and some mistakes that I had really
  made when writing this example.
  Suggested exercise:
   1. Read the file, see if you find bugs.
   2. Run scalac, first without options, then with more options,
      then with linter, see if you find bugs.
   3. Run scalacheck and scalatest, see if you find more bugs.
      (These tests are in src/test/scala/dicecheck.scala and
       src/test/scala/dice.scala.)

src/main/scala/bugs.scala:
  Dumb errors, just to see what the various tools catch.
