Simplify cyclomatic complexity of AddBatch

This commit is contained in:
2021-05-01 17:30:12 +02:00
parent f364cf6137
commit da268badbb
3 changed files with 128 additions and 115 deletions

View File

@@ -517,3 +517,4 @@ func TestHighestPowerOfTwo(t *testing.T) {
// adding the rest of keys with loop over normal Add, and with AddBatch
// TODO test adding batch with repeated keys in the batch
// TODO test adding batch with multiple invalid keys