add get screen size test code

This commit is contained in:
vcaesar 2019-12-01 09:22:03 -04:00
parent 772a43de44
commit 0a4ae24aec

View File

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