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: find_test.go
    path of file: ./repos/td/telegram/dcs
    
    the code of the file until where you have to start completion: package dcs

import (
	"fmt"
	"testing"

	"github.com/stretchr/testify/require"

	"github.com/gotd/td/tg"
)

func TestFindDCs(t *testing.T) {
	dcOptions := []tg.DCOption{
		{ID: 1, Ipv6: false},
		{ID: 1, Ipv
    
func TestFindDCs(t *testing.T) {
	dcOptions := []tg.DCOption{
		{ID: 1, Ipv6: false},
		{ID: 1, Ipv6: true},
		{ID: 1, Ipv6: false, Static: true},

		{ID: 2, Ipv6: true, Static: true},
		{ID: 2, Ipv6: true},
		{ID: 2, Ipv6: false},
	}
	for i := range dcOptions {
		dcOptions[i].IPAddress = fmt.Sprintf("DC: %d, Index: %d", dcOptions[i].ID, i)
	}

	a := require.New(t)
	dc := FindDCs(dcOptions, -2, false)
	a.Empty(dc)
	dc = FindDCs(dcOptions, -2, true)
	a.Empty(dc)

	// Prefer IPv6.
	dc = FindDCs(dcOptions, 1, true)
	a.True(dc[0].Ipv6)

	// Prefer static.
	dc = FindDCs(dcOptions, 1, false)
	a.True(dc[0].Static)

	// Prefer static and IPv6.
	dc = FindDCs(dcOptions, 2, true)
	a.True(dc[0].Static)
	a.True(dc[0].Ipv6)
}