Merge remote-tracking branch 'origin' into fix/infinite-put-glitch
All checks were successful
CI / Go Lint (pull_request) Successful in 38s
CI / Markdown Lint (pull_request) Successful in 12s
CI / Makefile Lint (pull_request) Successful in 29s
CI / Unit Tests (pull_request) Successful in 26s
CI / Fuzz Tests (pull_request) Successful in 59s
CI / Mutation Tests (pull_request) Successful in 1m0s
All checks were successful
CI / Go Lint (pull_request) Successful in 38s
CI / Markdown Lint (pull_request) Successful in 12s
CI / Makefile Lint (pull_request) Successful in 29s
CI / Unit Tests (pull_request) Successful in 26s
CI / Fuzz Tests (pull_request) Successful in 59s
CI / Mutation Tests (pull_request) Successful in 1m0s
This commit is contained in:
@@ -118,18 +118,6 @@ func TestGetMany(t *testing.T) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestRemove(t *testing.T) {
|
|
||||||
assert := assert.New(t)
|
|
||||||
table := cuckoo.NewTable[int, bool]()
|
|
||||||
|
|
||||||
assert.False(table.Has(0))
|
|
||||||
|
|
||||||
err := table.Put(0, true)
|
|
||||||
assert.NoError(err)
|
|
||||||
|
|
||||||
assert.True(table.Has(0))
|
|
||||||
}
|
|
||||||
|
|
||||||
func TestDropExistingItem(t *testing.T) {
|
func TestDropExistingItem(t *testing.T) {
|
||||||
assert := assert.New(t)
|
assert := assert.New(t)
|
||||||
key, value := 0, true
|
key, value := 0, true
|
||||||
|
|||||||
Reference in New Issue
Block a user