1. Dianne Marsh
  2. ScalaKoansExercises


dmarsh  committed 12cbe68 Merge

merged files

  • Participants
  • Parent commits ab858cf, 026d64f
  • Branches default

Comments (0)

Files changed (2)

File .hgignore

View file
  • Ignore whitespace

File src/test/scala/org/functionalkoans/forscala/AboutSets.scala

View file
  • Ignore whitespace
     mySet.contains(12) should be(__)
     mySet.contains("MI") should be(__)
   koan("Sets may be accessed") {
     aNewSet.contains("Wisconsin") should be(__)
     aNewSet.size should be(__)
   koan("Attempted removal of nonexistent elements from a set is handled gracefully") {
     val mySet = Set("Michigan", "Ohio", "Wisconsin", "Iowa")
     val aNewSet = mySet - "Minnesota"