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: 978. Longest Turbulent Subarray_test.go
    path of file: ./repos/LeetCode-Go/leetcode/0978.Longest-Turbulent-Subarray
    
    the code of the file until where you have to start completion: package leetcode

import (
	"fmt"
	"testing"
)

type question978 struct {
	para978
	ans978
}

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

// ans 是答案
// one 代表第一个答案
type ans978 struct {
	one int
}

func Test_Problem978(t *testing.T) {

	qs := []question978{

		{
			para978{[]int{0, 1, 1, 0, 1, 0, 1, 1, 0, 0}},
			ans978
    
func Test_Problem978(t *testing.T) {

	qs := []question978{

		{
			para978{[]int{0, 1, 1, 0, 1, 0, 1, 1, 0, 0}},
			ans978{5},
		},

		{
			para978{[]int{9, 9}},
			ans978{1},
		},

		{
			para978{[]int{9, 4, 2, 10, 7, 8, 8, 1, 9}},
			ans978{5},
		},

		{
			para978{[]int{4, 8, 12, 16}},
			ans978{2},
		},

		{
			para978{[]int{100}},
			ans978{1},
		},
	}

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

	for _, q := range qs {
		_, p := q.ans978, q.para978
		fmt.Printf("【input】:%v       【output】:%v\n", p, maxTurbulenceSize(p.one))
	}
	fmt.Printf("\n\n\n")
}