diff options
| author | ewy <ewy0@protonmail.com> | 2026-05-22 20:06:56 +0200 |
|---|---|---|
| committer | ewy <ewy0@protonmail.com> | 2026-05-22 20:06:56 +0200 |
| commit | 094846c15f4148c166ac297e26a1248bab0ab5c7 (patch) | |
| tree | d9f671bb0d34b5be52db62636278f5d3e5657283 /api/filter_test.go | |
| parent | 3ea1ed1362984619b182c0ddf9a6b1dc7ba5bcd0 (diff) | |
add views, expand api, add windows opening thing overridemain
Diffstat (limited to 'api/filter_test.go')
| -rw-r--r-- | api/filter_test.go | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/api/filter_test.go b/api/filter_test.go new file mode 100644 index 0000000..dcfa5df --- /dev/null +++ b/api/filter_test.go @@ -0,0 +1,19 @@ +//go:build api + +package api + +import "testing" + +func ptr[T any](obj T) *T { + return &obj +} + +func TestFilter(t *testing.T) { + f := RunFilter{ + Win: ptr(true), + Character: ptr("guy"), + Ascension: ptr(3), + Version: ptr("0.333.2"), + } + Query(f) +} |
