示例#1
0
 def testHiWord_bigone(self):
     self.assertEquals(1, HiWord(0x10000))
示例#2
0
 def testHiWord_one(self):
     self.assertEquals(0, HiWord(1))
示例#3
0
 def testHiWord_vbig(self):
     self.assertEquals(0xffff, HiWord(MakeLong(0xffff, 0xffff)))
示例#4
0
 def testHiWord_zero(self):
     self.assertEquals(0, HiWord(0))
示例#5
0
 def testHiWord_big(self):
     self.assertEqual(0xffff, HiWord(MakeLong(0xffff, 1)))