[mirror] Make your go dev experience better github.com/olexsmir/gopher.nvim
neovim golang
at main 438 B view raw
1package fortest 2 3import "testing" 4 5func TestForTest_Add(t *testing.T) { 6 type args struct { 7 x int 8 y int 9 } 10 tests := []struct { 11 name string 12 tr *ForTest 13 args args 14 want int 15 }{ 16 // TODO: Add test cases. 17 } 18 for _, tt := range tests { 19 t.Run(tt.name, func(t *testing.T) { 20 tr := &ForTest{} 21 if got := tr.Add(tt.args.x, tt.args.y); got != tt.want { 22 t.Errorf("ForTest.Add() = %v, want %v", got, tt.want) 23 } 24 }) 25 } 26}