Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
holdenk committed Apr 9, 2014
1 parent 7ebe4d5 commit c5b723f
Showing 1 changed file with 0 additions and 11 deletions.
Expand Up @@ -35,17 +35,6 @@ import org.apache.spark.mllib.util.MLUtils._

class MLUtilsSuite extends FunSuite with LocalSparkContext {

@transient private var sc: SparkContext = _

override def beforeAll() {
sc = new SparkContext("local", "test")
}

override def afterAll() {
sc.stop()
System.clearProperty("spark.driver.port")
}

test("epsilon computation") {
assert(1.0 + EPSILON > 1.0, s"EPSILON is too small: $EPSILON.")
assert(1.0 + EPSILON / 2.0 === 1.0, s"EPSILON is too big: $EPSILON.")
Expand Down

0 comments on commit c5b723f

Please sign in to comment.