Skip to content

Commit

Permalink
reword comment
Browse files Browse the repository at this point in the history
Signed-off-by: Antoni Reus <antoni.reus@exasol.com>
  • Loading branch information
YotillaAntoni committed Nov 22, 2024
1 parent 90730c8 commit 5144c29
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,13 @@ import org.scalatest.funsuite.AnyFunSuite

class RoaringBitmapArraySuite extends AnyFunSuite {


test("RoaringBitmapArray create empty map") {
val bitmap = RoaringBitmapArray.create()
assert(bitmap.toArray.isEmpty)
}

test("RoaringBitmapArray create map with values only in first bitmap") {
// Values <= max unsigned integer (4,294,967,295) will be in the first bitmap
// Values <= max unsigned int (4,294,967,295) will be in the first bitmap
val bitmap = RoaringBitmapArray.create(1L, 100L)

assert(bitmap.contains(1L))
Expand All @@ -41,7 +40,7 @@ class RoaringBitmapArraySuite extends AnyFunSuite {
}

test("RoaringBitmapArray create map with values only in second bitmap") {
// Values > max unsigned integer (4,294,967,295) will be in the second bitmap
// Values between max unsigned int and 2*(max unsigned int) will be in the second bitmap
val bitmap = RoaringBitmapArray.create(5000000000L, 5000000100L)

assert(bitmap.contains(5000000000L))
Expand Down

0 comments on commit 5144c29

Please sign in to comment.