Skip to content

Commit

Permalink
one more bucketizer test
Browse files Browse the repository at this point in the history
  • Loading branch information
jkbradley committed May 11, 2015
1 parent 34f124a commit 1ca973a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ class BucketizerSuite extends FunSuite with MLlibTestSparkContext {
checkBinarySearch(Array(0.0, 1.0, Double.PositiveInfinity))
// length 3, with -inf and inf
checkBinarySearch(Array(Double.NegativeInfinity, 1.0, Double.PositiveInfinity))
// length 4, with -inf and inf
checkBinarySearch(Array(Double.NegativeInfinity, 0.0, 1.0, Double.PositiveInfinity))
}

test("Binary search correctness in contrast with linear search, on random data") {
Expand Down

0 comments on commit 1ca973a

Please sign in to comment.