update move mouse smooth test code

This commit is contained in:
vcaesar 2020-02-18 12:34:10 -04:00
parent 550fc6a80b
commit dbe6d0b35c

View File

@ -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)
}