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