From c79095de4cf7bdaa604c40a223b7ffa52f73133a Mon Sep 17 00:00:00 2001 From: vcaesar Date: Sun, 26 Jan 2020 12:49:44 -0400 Subject: [PATCH] add more bitmap test code --- robotgo_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/robotgo_test.go b/robotgo_test.go index d7d7512..8512285 100644 --- a/robotgo_test.go +++ b/robotgo_test.go @@ -81,4 +81,9 @@ func TestBitmap(t *testing.T) { tt.NotNil(t, bit) e := SaveBitmap(bit, "robot_test.png") tt.Empty(t, e) + + bit1 := OpenBitmap("robot_test.png") + b := tt.TypeOf(bit, bit1) + tt.True(t, b) + tt.NotNil(t, bit1) }