Esempio n. 1
0
 def test_get_int16(self):
     b = FIFOBuffer('\x36\xf8\x00\x35')
     self.assertEqual(b.get_int16(), 0x36f8)
     self.assertEqual(b.get_int16(), 0x35)
Esempio n. 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)