Skip to content

Commit 3765e86

Browse files
committed
coregraphics: Add basic test
1 parent 2a74281 commit 3765e86

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

macos/coregraphics/coregraphics_test.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,10 @@ package coregraphics
33
import "testing"
44

55
func TestCoreGraphicsValid(t *testing.T) {}
6+
7+
func TestDisplayCreateImage(t *testing.T) {
8+
id := MainDisplayID()
9+
t.Logf("MainDisplayID: %d", id)
10+
img := DisplayCreateImage(id)
11+
t.Logf("DisplayCreateImage: %v", img)
12+
}

0 commit comments

Comments
 (0)