fix: tap x,y positions

This commit is contained in:
debugtalk
2022-09-29 15:51:03 +08:00
parent a8318ce202
commit 75e8b87e73
8 changed files with 206 additions and 25 deletions
-10
View File
@@ -37,13 +37,3 @@ func TestDriverExt_TouchAndHold(t *testing.T) {
err = driverExt.TouchAndHoldOffset(pathSearch, 0.8, 0.1)
checkErr(t, err)
}
func checkErr(t *testing.T, err error, msg ...string) {
if err != nil {
if len(msg) == 0 {
t.Fatal(err)
} else {
t.Fatal(msg, err)
}
}
}