123456789101112131415161718192021222324 |
- 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)
- }
|