mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-01 06:33:56 +00:00
add get screen size test code
This commit is contained in:
parent
772a43de44
commit
0a4ae24aec
@ -14,6 +14,7 @@ package robotgo
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"log"
|
||||||
"runtime"
|
"runtime"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
@ -60,3 +61,8 @@ func TestScrollMouse(t *testing.T) {
|
|||||||
|
|
||||||
Scroll(210, 210)
|
Scroll(210, 210)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func TestGetScreenSize(t *testing.T) {
|
||||||
|
x, y := GetScreenSize()
|
||||||
|
log.Println("GetScreenSize: ", x, y)
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user