package identify import ( "testing" ) func TestNewMultiCheck(t *testing.T) { //map[string]MultiRule{} ruleString := `{"过滤初期":{"step":{"NvIn":["26"]},"filter_time":{"NvIn":["360...660"]}}}` ovs := map[string]string{ "step": "25", "filter_time": "361", } nvs := map[string]string{ "step": "26", "filter_time": "660", } eventName := MultiTest(ovs, nvs, ruleString) t.Log(eventName) }