Example #1
0
File: test.py Project: kaz3t/pyncp
 def test_message5(self):
     crc_bit, crc_int = ncp8(self.message5)
     self.assertEqual(crc_int, 0xF7)
Example #2
0
File: test.py Project: kaz3t/pyncp
 def test_message3(self):
     crc_bit, crc_int = ncp8(self.message3)
     self.assertEqual(crc_int, 0x64)
Example #3
0
File: test.py Project: kaz3t/pyncp
 def test_message4(self):
     crc_bit, crc_int = ncp8(self.message4)
     self.assertEqual(crc_int, 0x81)
Example #4
0
File: test.py Project: kaz3t/pyncp
 def test_message2(self):
     crc_bit, crc_int = ncp8(self.message2)
     self.assertEqual(crc_int, 0x77)