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: 494. Target Sum_test.go
    path of file: ./repos/LeetCode-Go/leetcode/0494.Target-Sum
    
    the code of the file until where you have to start completion: package leetcode

import (
	"fmt"
	"testing"
)

type question494 struct {
	para494
	ans494
}

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

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

func Test_Problem494(t *testing.T) {

	
    
func Test_Problem494(t *testing.T) {

	qs := []question494{

		{
			para494{[]int{1, 1, 1, 1, 1}, 3},
			ans494{5},
		},
	}

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

	for _, q := range qs {
		_, p := q.ans494, q.para494
		fmt.Printf("【input】:%v       【output】:%v\n", p, findTargetSumWays(p.nums, p.S))
	}
	fmt.Printf("\n\n\n")
}