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