Skip to content

Commit

Permalink
RoaringArray64: fix architecture for input values
Browse files Browse the repository at this point in the history
  • Loading branch information
bstrausser committed Jun 25, 2024
1 parent 930a460 commit 3625fd1
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions roaring64/roaringarray64_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,10 @@ func TestCopies(t *testing.T) {

for _, test := range tests {
t.Run(test.name, func(t *testing.T) {
r1 := 1 << 32
r1 := uint64(1) << 32
r2 := uint64(2) << 32
r3 := uint64(3) << 32
r4 := uint64(4) << 32
// key := highbits(uint64(r4))

bitmap1 := New()
bitmap2 := New()
Expand Down Expand Up @@ -91,10 +90,10 @@ func TestCopies(t *testing.T) {

for _, test := range tests {
t.Run(test.name, func(t *testing.T) {
r1 := 1 << 32
r2 := 2 << 32
r3 := 3 << 32
r4 := 4 << 32
r1 := uint64(1) << 32
r2 := uint64(2) << 32
r3 := uint64(3) << 32
r4 := uint64(4) << 32
key := highbits(uint64(r4))

bitmap1 := New()
Expand Down

0 comments on commit 3625fd1

Please sign in to comment.