Algorithms in Scala Property-based tests written in Scalacheck Algorithms expressed using recursion and pattern matching in pure Scala.