(t *testing.T)
| 380 | } |
| 381 | |
| 382 | func TestSumWithNegative(t *testing.T) { |
| 383 | bsi := setupNegativeBoundary() |
| 384 | assert.Equal(t, uint64(11), bsi.GetCardinality()) |
| 385 | sum, cnt := bsi.Sum(bsi.GetExistenceBitmap()) |
| 386 | assert.Equal(t, uint64(11), cnt) |
| 387 | assert.Equal(t, int64(0), sum) |
| 388 | } |
| 389 | |
| 390 | func TestGEWithNegative(t *testing.T) { |
| 391 | bsi := setupNegativeBoundary() |
nothing calls this directly
no test coverage detected
searching dependent graphs…