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