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: 775. Global and Local Inversions_test.go
    path of file: ./repos/LeetCode-Go/leetcode/0775.Global-and-Local-Inversions
    
    the code of the file until where you have to start completion: package leetcode

import (
	"fmt"
	"testing"
)

type question775 struct {
	para775
	ans775
}

// para 是参数
// one 代表
    
func Test_Problem775(t *testing.T) {

	qs := []question775{
		{
			para775{[]int{1, 0, 2}},
			ans775{true},
		},

		{
			para775{[]int{1, 2, 0}},
			ans775{false},
		},
	}

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

	for _, q := range qs {
		_, p := q.ans775, q.para775
		fmt.Printf("【input】:%v       【output】:%v\n", p, isIdealPermutation(p.A))
	}
	fmt.Printf("\n\n\n")
}