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: 462. Minimum Moves to Equal Array Elements II_test.go
    path of file: ./repos/LeetCode-Go/leetcode/0462.Minimum-Moves-to-Equal-Array-Elements-II
    
    the code of the file until where you have to start completion: package leetcode

import (
	"fmt"
	"testing"
)

type question462 struct {
	para462
	ans462
}

// para 是参数
// one 代表第一个参数
type para462 struct {
	nums []int
}

// ans 是答案
// one 代表第一个答案
type ans462 struct {
	one int
}
    
func Test_Problem462(t *testing.T) {

	qs := []question462{

		{
			para462{[]int{}},
			ans462{0},
		},

		{
			para462{[]int{1, 2, 3}},
			ans462{2},
		},

		{
			para462{[]int{1, 10, 2, 9}},
			ans462{16},
		},

		{
			para462{[]int{1, 0, 0, 8, 6}},
			ans462{14},
		},
	}

	fmt.Printf("------------------------Leetcode Problem 462------------------------\n")

	for _, q := range qs {
		_, p := q.ans462, q.para462
		fmt.Printf("【input】:%v       【output】:%v\n", p, minMoves2(p.nums))
	}
	fmt.Printf("\n\n\n")
}