Beispiel #1
0
 def test_decode_short_short_int_value(self):
     self.assertEqual(decode.short_short_int(b'\xff')[1], 255)
Beispiel #2
0
 def test_decode_short_short_int_value(self):
     self.assertEqual(decode.short_short_int(b'\xff')[1], 255)
Beispiel #3
0
 def test_decode_short_short_int_data_type(self):
     self.assertIsInstance(decode.short_short_int(b'\xff')[0], int)
Beispiel #4
0
 def test_decode_short_short_int_data_type(self):
     self.assertIsInstance(decode.short_short_int(b'\xff')[0], int)