mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-01 06:33:56 +00:00
add more bitmap test code
This commit is contained in:
parent
593e3ed9f9
commit
c79095de4c
@ -81,4 +81,9 @@ func TestBitmap(t *testing.T) {
|
|||||||
tt.NotNil(t, bit)
|
tt.NotNil(t, bit)
|
||||||
e := SaveBitmap(bit, "robot_test.png")
|
e := SaveBitmap(bit, "robot_test.png")
|
||||||
tt.Empty(t, e)
|
tt.Empty(t, e)
|
||||||
|
|
||||||
|
bit1 := OpenBitmap("robot_test.png")
|
||||||
|
b := tt.TypeOf(bit, bit1)
|
||||||
|
tt.True(t, b)
|
||||||
|
tt.NotNil(t, bit1)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user