(t *testing.T)
| 55 | } |
| 56 | |
| 57 | func TestIsParamOfFunc(t *testing.T) { |
| 58 | var tests = []struct { |
| 59 | f string |
| 60 | ok bool |
| 61 | }{ |
| 62 | {"ZwContinue", true}, |
| 63 | {"RtlCaptureContext", true}, |
| 64 | {"CreateFile", false}, |
| 65 | {"CreateThread", false}, |
| 66 | } |
| 67 | |
| 68 | for _, tt := range tests { |
| 69 | t.Run(tt.f, func(t *testing.T) { |
| 70 | assert.Equal(t, tt.ok, IsParamOfFunc(tt.f)) |
| 71 | }) |
| 72 | } |
| 73 | } |
nothing calls this directly
no test coverage detected