github.com/mdaxf/iac@v0.0.0-20240519030858-58a061660378/engine/funcgroup/funcgroup_test.go (about) 1 package funcgroup 2 3 import ( 4 "testing" 5 6 "github.com/mdaxf/iac/engine/types" 7 ) 8 9 func TestFGroup_CheckRouter(t *testing.T) { 10 type args struct { 11 RouterDef types.RouterDef 12 } 13 tests := []struct { 14 name string 15 c *FGroup 16 args args 17 want string 18 }{ 19 // TODO: Add test cases. 20 } 21 for _, tt := range tests { 22 t.Run(tt.name, func(t *testing.T) { 23 if got := tt.c.CheckRouter(tt.args.RouterDef); got != tt.want { 24 t.Errorf("FGroup.CheckRouter() = %v, want %v", got, tt.want) 25 } 26 }) 27 } 28 }