Beispiel #1
0
 def test_message5(self):
     crc_bit, crc_int = ncp8(self.message5)
     self.assertEqual(crc_int, 0xF7)
Beispiel #2
0
 def test_message3(self):
     crc_bit, crc_int = ncp8(self.message3)
     self.assertEqual(crc_int, 0x64)
Beispiel #3
0
 def test_message4(self):
     crc_bit, crc_int = ncp8(self.message4)
     self.assertEqual(crc_int, 0x81)
Beispiel #4
0
 def test_message2(self):
     crc_bit, crc_int = ncp8(self.message2)
     self.assertEqual(crc_int, 0x77)