github.com/mdaxf/iac@v0.0.0-20240519030858-58a061660378/engine/function/inputmapfuns_test.go (about)

     1  package funcs
     2  
     3  import (
     4  	"testing"
     5  )
     6  
     7  func TestInputMapFuncs_Execute(t *testing.T) {
     8  	type args struct {
     9  		f *Funcs
    10  	}
    11  	tests := []struct {
    12  		name string
    13  		cf   *InputMapFuncs
    14  		args args
    15  	}{
    16  		// TODO: Add test cases.
    17  	}
    18  	for _, tt := range tests {
    19  		t.Run(tt.name, func(t *testing.T) {
    20  			tt.cf.Execute(tt.args.f)
    21  		})
    22  	}
    23  }
    24  
    25  func TestInputMapFuncs_Validate(t *testing.T) {
    26  	type args struct {
    27  		f *Funcs
    28  	}
    29  	tests := []struct {
    30  		name string
    31  		cf   *InputMapFuncs
    32  		args args
    33  		want bool
    34  	}{
    35  		// TODO: Add test cases.
    36  	}
    37  	for _, tt := range tests {
    38  		t.Run(tt.name, func(t *testing.T) {
    39  			if got := tt.cf.Validate(tt.args.f); got != tt.want {
    40  				t.Errorf("InputMapFuncs.Validate() = %v, want %v", got, tt.want)
    41  			}
    42  		})
    43  	}
    44  }