コード例 #1
0
ファイル: z_package_suite.py プロジェクト: emilkarlen/exactly
def suite() -> unittest.TestSuite:
    return unittest.TestSuite([
        no_contents.suite(),
        contents_from_string.suite(),
        contents_from_file.suite(),
        contents_from_program.suite(),
        contents_from_symbol.suite(),
        suite_for_instruction_documentation(
            sut.TheInstructionDocumentation('instruction name')),
    ])
コード例 #2
0
def setup(instruction_name: str) -> SingleInstructionSetup:
    return SingleInstructionSetup(
        instruction_from_parts.Parser(new_file.parts_parser(True)),
        new_file.TheInstructionDocumentation(instruction_name))