fix: tap x,y positions

This commit is contained in:
debugtalk
2022-09-29 15:46:30 +08:00
parent 0a604f6ec5
commit 2cceffa66d
8 changed files with 206 additions and 25 deletions

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