| 13 | |
| 14 | @dataclass |
| 15 | class TestData: |
| 16 | name: str |
| 17 | expectedinstructioncount: int |
| 18 | code: bytes |
| 19 | instructions: list |
| 20 | def __init__(self, Name, ExpectedInstructionCount, Code, Instructions): |
| 21 | self.name = Name |
| 22 | self.expectedinstructioncount = ExpectedInstructionCount |
| 23 | self.code = Code |
| 24 | self.instructions = Instructions |
| 25 | |
| 26 | @property |
| 27 | def Name(self): |
| 28 | return self.name |
| 29 | |
| 30 | @property |
| 31 | def ExpectedInstructionCount(self): |
| 32 | return self.expectedinstructioncount |
| 33 | |
| 34 | @property |
| 35 | def Code(self): |
| 36 | return self.code |
| 37 | |
| 38 | @property |
| 39 | def Instructions(self): |
| 40 | return self.instructions |
| 41 | |
| 42 | TestDataMap = {} |
| 43 | class HostFeatures(Flag) : |