We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7ce550 commit b7a76b9Copy full SHA for b7a76b9
robotgo_test.go
@@ -150,6 +150,21 @@ func TestBitmap(t *testing.T) {
150
tt.NotNil(t, bit1)
151
}
152
153
+func TestPs(t *testing.T) {
154
+ id, err := Pids()
155
+ tt.Not(t, "[]", id)
156
+ tt.IsType(t, "[]int32", id)
157
+ tt.Nil(t, err)
158
+
159
+ b, e := PidExists(id[0])
160
+ tt.Bool(t, b)
161
+ tt.Nil(t, e)
162
163
+ n, e := FindName(id[0])
164
+ tt.NotEmpty(t, n)
165
166
+}
167
168
// func TestAlert(t *testing.T) {
169
// go func() {
170
// MilliSleep(200)
0 commit comments