Home | History | Annotate | Download | only in tests

Lines Matching refs:MTB

5 # This module contains unit tests for the classes in the mtb module
14 import mtb
18 from firmware_constants import AXIS, GV, MTB, PLATFORM, UNIT, VAL
19 from mtb import FingerPath, TidPacket
29 parser = mtb.MtbParser()
31 mtb_packets = mtb.Mtb(packets=packets)
35 class FakeMtb(mtb.Mtb):
36 """A fake MTB class to set up x and y positions directly."""
47 """Unit tests for mtb.Mtb class."""
65 mtb = FakeMtb(list_x, list_y)
66 displacement = mtb.get_reversed_motions(0, direction, ratio=0.1)
458 packets = mtb.MtbParser().parse_file(mtplot_filename)
459 evemu_converted_iter = iter(mtb.convert_to_evemu_format(packets))
592 mtb_packets = mtb.Mtb(device=mocked_device[PLATFORM.LUMPY])
613 mtb_packets = mtb.Mtb(device=mocked_device[PLATFORM.LUMPY])