blob: 49cd05aef05f82dcba7a519827c26978e4690f0b [file] [log] [blame]
# Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from fuzzy_check import FuzzyCheck
from validators import *
# originally generated gestures:
# Scroll d=1151 x=0 y=1151 r=60.03 s=1.16e+04
def Validate(raw, events, gestures):
for entry in raw['entries']:
if entry['type'] == 'gesture':
if entry['endTime'] > 8549.151941:
return False, "Has activity during lift"
return True, "Success"