Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
codeskyblue committed Jan 3, 2018
1 parent d15e88c commit 44f6427
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions minitouch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ $ 25654`),
Index: 1,
PercentX: 1.0,
PercentY: 1.0,
Pressure: 10,
Pressure: 1,
}
reqC <- TouchRequest{
Operation: "c",
Expand All @@ -57,7 +57,7 @@ $ 25654`),
Index: 3,
PercentX: 0.5,
PercentY: 0.5,
Pressure: 30,
Pressure: 1,
}
reqC <- TouchRequest{
Operation: "u",
Expand All @@ -66,5 +66,5 @@ $ 25654`),
close(reqC)
drainTouchRequests(conn, reqC)
output := string(conn.buffer.Bytes())
assert.Equal(t, "d 1 1080 1920 10\nc\nm 3 540 960 30\nu 4\n", output)
assert.Equal(t, "d 1 1080 1920 255\nc\nm 3 540 960 255\nu 4\n", output)
}

0 comments on commit 44f6427

Please sign in to comment.