Home
last modified time | relevance | path

Searched refs:xy_pairs (Results 1 – 2 of 2) sorted by relevance

/external/autotest/client/site_tests/firmware_TouchMTB/tests/
Dvalidators_unittest.py671 def _test_chop_off_both_ends(self, xy_pairs, distance, expected_middle): argument
673 points = [Point(*xy) for xy in xy_pairs]
680 xy_pairs = [
695 self._test_chop_off_both_ends(xy_pairs, distance, expected_middle)
699 expected_end_index = len(xy_pairs) - 1
701 self._test_chop_off_both_ends(xy_pairs, distance, expected_middle)
706 xy_pairs = [(120, 50), (120, 50)]
708 self._test_chop_off_both_ends(xy_pairs, distance, expected_middle)
710 xy_pairs = [(120, 50), (150, 52), (200, 51)]
712 self._test_chop_off_both_ends(xy_pairs, distance, expected_middle)
[all …]
Dmtb_unittest.py432 xy_pairs = {
452 for i, xy_pair in enumerate(xy_pairs[slot]):