Exemple #1
0
	def test_strToUnsignedChar_fail(self):
		self.assertEqual(bc.strToUnsignedChar(b'\x0e\x0f\x0e'), -9999)
Exemple #2
0
	def test_strToUnsignedChar(self):
		self.assertEqual(bc.strToUnsignedChar(b'\x0e'), 14)