mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-05-30 22:13:54 +00:00
update move mouse smooth test code
This commit is contained in:
parent
550fc6a80b
commit
dbe6d0b35c
@ -48,10 +48,11 @@ func TestMoveMouse(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestMoveMouseSmooth(t *testing.T) {
|
||||
MoveMouseSmooth(100, 100)
|
||||
b := MoveMouseSmooth(100, 100)
|
||||
MilliSleep(10)
|
||||
x, y := GetMousePos()
|
||||
|
||||
tt.True(t, b)
|
||||
tt.Equal(t, 100, x)
|
||||
tt.Equal(t, 100, y)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user