blob: 09bd8f512d68f45709208472f6d3c4acd4228447 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
from chrysacase import ChrysalideTestCase
from pychrysalide.glibext import ThickObject
class TestWorks(ChrysalideTestCase):
"""TestCase for pychrysalide.glibext.BinaryPortion"""
def testExtraAccess(self):
"""Access to various definitions of the extra data for ThickObject."""
obj = ThickObject()
self.assertEqual(obj.extra, 0)
obj.extra = 0xffffffe0
self.assertEqual(obj.extra, 0xffffffe0)
obj.extra = 0x00123000
self.assertEqual(obj.extra, 0x00123000)
|