mirror of
https://github.com/go-vgo/robotgo
synced 2026-05-23 17:59:12 +00:00
update move mouse smooth test code
This commit is contained in:
parent
550fc6a80b
commit
dbe6d0b35c
1 changed files with 2 additions and 1 deletions
|
|
@ -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 a new issue