Numbers is PinchValidator are changed to match the new distance definition

The new distance definition measures product of max(dz, 1/dz) for pinch events.

BUG=none
TEST=none
CQ-DEPEND=CL:340250

Change-Id: I55837d50be1eaf56acc1e50fa6c496577674c8b9
Reviewed-on: https://chromium-review.googlesource.com/340186
Commit-Ready: Amirhossein Simjour <asimjour@chromium.org>
Tested-by: Amirhossein Simjour <asimjour@chromium.org>
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
diff --git a/tests/link/move_before_pinch.py b/tests/link/move_before_pinch.py
index bed8b11..b1eee87 100644
--- a/tests/link/move_before_pinch.py
+++ b/tests/link/move_before_pinch.py
@@ -15,7 +15,7 @@
   fuzzy = FuzzyCheck()
   fuzzy.expected = [
     MotionValidator("== 0 ~ 20"),
-    PinchValidator(">= 160"),
+    PinchValidator("== 2.348 ~ 0.2"),
   ]
   fuzzy.unexpected = [
     FlingStopValidator("<10"),
diff --git a/tests/link/pinch_zoom_1.py b/tests/link/pinch_zoom_1.py
index 2cb1199..5ca6c1e 100644
--- a/tests/link/pinch_zoom_1.py
+++ b/tests/link/pinch_zoom_1.py
@@ -7,7 +7,7 @@
 def Validate(raw, events, gestures):
   fuzzy = FuzzyCheck()
   fuzzy.expected = [
-    PinchValidator(">=20"),
+    PinchValidator("== 1.556 ~ 0.2"),
   ]
   fuzzy.unexpected = [
     MotionValidator("==0 ~ 5"),
diff --git a/tests/link/pinch_zoom_2.py b/tests/link/pinch_zoom_2.py
index 8fcfc56..0103ae7 100644
--- a/tests/link/pinch_zoom_2.py
+++ b/tests/link/pinch_zoom_2.py
@@ -7,7 +7,7 @@
 def Validate(raw, events, gestures):
   fuzzy = FuzzyCheck()
   fuzzy.expected = [
-    PinchValidator(">= 8"),
+    PinchValidator("== 1.409 ~ 0.2"),
   ]
   fuzzy.unexpected = [
     MotionValidator("==0 ~ 5"),
diff --git a/tests/link/pinch_zoom_3.py b/tests/link/pinch_zoom_3.py
index 9e6f896..18dad65 100644
--- a/tests/link/pinch_zoom_3.py
+++ b/tests/link/pinch_zoom_3.py
@@ -7,7 +7,7 @@
 def Validate(raw, events, gestures):
   fuzzy = FuzzyCheck()
   fuzzy.expected = [
-    PinchValidator(">= 12"),
+    PinchValidator("== 1.377 ~ 0.2"),
   ]
   fuzzy.unexpected = [
     MotionValidator("==0 ~ 5"),
diff --git a/tests/link/pinch_zoom_4.py b/tests/link/pinch_zoom_4.py
index fb866c7..83432a0 100644
--- a/tests/link/pinch_zoom_4.py
+++ b/tests/link/pinch_zoom_4.py
@@ -7,7 +7,7 @@
 def Validate(raw, events, gestures):
   fuzzy = FuzzyCheck()
   fuzzy.expected = [
-    PinchValidator(">= 7"),
+    PinchValidator("== 1.884 ~ 0.2"),
   ]
   fuzzy.unexpected = [
     MotionValidator("==0 ~ 5"),
diff --git a/tests/link/pinch_zoom_5.py b/tests/link/pinch_zoom_5.py
index a1f65c3..c2de7bd 100644
--- a/tests/link/pinch_zoom_5.py
+++ b/tests/link/pinch_zoom_5.py
@@ -7,7 +7,7 @@
 def Validate(raw, events, gestures):
   fuzzy = FuzzyCheck()
   fuzzy.expected = [
-    PinchValidator(">= 3"),
+    PinchValidator("== 1.975 ~ 0.2"),
   ]
   fuzzy.unexpected = [
     MotionValidator("== 0 ~ 5"),
diff --git a/tests/link/pinch_zoom_6.py b/tests/link/pinch_zoom_6.py
index fb866c7..679259c 100644
--- a/tests/link/pinch_zoom_6.py
+++ b/tests/link/pinch_zoom_6.py
@@ -7,7 +7,7 @@
 def Validate(raw, events, gestures):
   fuzzy = FuzzyCheck()
   fuzzy.expected = [
-    PinchValidator(">= 7"),
+    PinchValidator("== 1.356 ~ 0.2"),
   ]
   fuzzy.unexpected = [
     MotionValidator("==0 ~ 5"),
diff --git a/tests/link/scroll_before_pinch_1.py b/tests/link/scroll_before_pinch_1.py
index b531407..0bcd96f 100644
--- a/tests/link/scroll_before_pinch_1.py
+++ b/tests/link/scroll_before_pinch_1.py
@@ -11,7 +11,7 @@
 def Validate(raw, events, gestures):
   fuzzy = FuzzyCheck()
   fuzzy.expected = [
-    PinchValidator(">= 12"),
+    PinchValidator("== 1.647 ~ 0.2"),
   ]
   fuzzy.unexpected = [
     FlingStopValidator("<10"),
diff --git a/tests/link/scroll_before_pinch_2.py b/tests/link/scroll_before_pinch_2.py
index bbd97de..a0c95ff 100644
--- a/tests/link/scroll_before_pinch_2.py
+++ b/tests/link/scroll_before_pinch_2.py
@@ -11,7 +11,7 @@
 def Validate(raw, events, gestures):
   fuzzy = FuzzyCheck()
   fuzzy.expected = [
-    PinchValidator(">= 9"),
+    PinchValidator("== 1.568 ~ 0.2"),
   ]
   fuzzy.unexpected = [
     FlingStopValidator("<10"),