예제 #1
0
def suite() -> unittest.TestSuite:
    return unittest.TestSuite([
        create_implicitly_empty.suite(),
        explicit_contents.suite(),
        suite_for_instruction_documentation(
            sut.TheInstructionDocumentation('instruction name')),
    ])
예제 #2
0
def setup(instruction_name: str) -> SingleInstructionSetup:
    return SingleInstructionSetup(
        instruction_from_parts.Parser(new_dir_utils.PARTS_PARSER),
        new_dir_utils.TheInstructionDocumentation(instruction_name,
                                                  is_in_assert_phase=True))