func TestSimpleQueue(t *testing.T) { … } func TestDeduping(t *testing.T) { … } func TestAddTwoFireEarly(t *testing.T) { … } func TestCopyShifting(t *testing.T) { … } func BenchmarkDelayingQueue_AddAfter(b *testing.B) { … } func waitForAdded(q DelayingInterface, depth int) error { … } func waitForWaitingQueueToFill(q DelayingInterface) error { … }