(self)
| 148 | self.assertEqual(expected, dummy.D) |
| 149 | |
| 150 | def test_volatile_ref_internal(self): |
| 151 | dummy = DummyStruct.volatile_ref(self.mem, self.ptr) |
| 152 | |
| 153 | expected = 0x51535357 |
| 154 | dummy.C.X = expected |
| 155 | data = self.__read_data(DummyStruct.offsetof('C') + DummyInternalStruct.offsetof('X'), 4) |
| 156 | self.assertEqual(expected, Wrapper.StructTest.__to_uint(data)) |
| 157 | |
| 158 | # BUG: ctype.c_wchar size differs between python for windows and linux.on windows it has the |
| 159 | # size of 2 as expected (same as the 'utf-16le' encoding), where on linux the size is 4 (same |
nothing calls this directly
no test coverage detected