package Mathematics

import org.scalatest.FlatSpec

class FindMinSpec extends FlatSpec {

  "FindMinSpec 1" should "output the correct Integer as a result from the list of elements" in {
    assert(FindMin.findMin(List(-1000, -1, 999, 72, 65, -56, -767)) === -1000)
  }
1
  "FindMinSpec 2" should "output the correct Integer as a result from the list of elements" in {
    assert(FindMin.findMin(List(121, 221, 3, 4112)) === 3)
  }

}

Findminspec