def test_get_int16(self):
     b = FIFOBuffer('\x36\xf8\x00\x35')
     self.assertEqual(b.get_int16(), 0x36f8)
     self.assertEqual(b.get_int16(), 0x35)
Exemple #2
0
 def test_get_int16(self):
     b = FIFOBuffer('\x36\xf8\x00\x35')
     self.assertEqual(b.get_int16(), 0x36f8)
     self.assertEqual(b.get_int16(), 0x35)