package org.scalatddpackt

import org.scalatest.FunSuite

class SetSuite extends FunSuite {

  test("An empty Set should have size 0") {
    assert(Set.empty.size == 0)
  }

  test("Invoking head on an empty Set should produce NoSuchElementException") {
    intercept[NoSuchElementException] {
      Set.empty.head
    }
  }
}

Add FunSpec example from scalatest.org
Add FunSpec example from scalatest.org

Signed-off-by: George K. Thiruvathukal <97f75e7847f9d781491c82d5a21e2f28eba950b0@cs.luc.edu>
