You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: help_test.go
    path of file: ./repos/franz-go/pkg/kgo/internal/sticky
    
    the code of the file until where you have to start completion: package sticky

import (
	"math"
	"testing"

	"github.com/twmb/franz-go/pkg/kmsg"
)

type udBuilder s
    
func testPlanUsage(t *testing.T, plan Plan, topics map[string]int32, unused []string) {
	t.Helper()

	all := make(map[topicPartition]int)
	for _, skip := range unused {
		delete(topics, skip)
	}

	for topic, partitions := range topics {
		for partition := int32(0); partition < partitions; partition++ {
			all[topicPartition{topic, partition}] = 0
		}
	}

	for member, topics := range plan {
		for topic, partitions := range topics {
			for _, partition := range partitions {
				tp := topicPartition{topic, partition}
				times, exists := all[tp]
				if !exists {
					t.Errorf("%s contains unexpected partition %s/%d", member, topic, partition)
					continue
				}
				if times > 0 {
					t.Errorf("%s caused partition %s/%d to be multiply used (now %d times)", member, topic, partition, times)
				}
				all[tp] = times + 1
			}
		}
	}
}