Abstract mother class of all short test sheets ! The constructor only has to be reimplemented, it is useless to reimplement other methods. More...
Public Member Functions | |
def | __init__ |
/!\ Must be redefined. | |
def | write_output |
Writes the whole sheet's content to the output. | |
def | write_sheet_header |
Writes to the output the header of the sheet to be generated This header is written in a large size. | |
def | write_sheet_title |
Writes to the output the title of the sheet to be generated This title is written in a LARGE size & bolded. | |
def | write_answers_title |
Writes to the output title of the answers' sheet to be generated This title is written in a LARGE size & bolded. | |
def | write_texts |
Writes to the output all exercises' texts. | |
def | write_sheet_text |
Writes to the output the sheet's text. | |
def | write_answers |
Writes to the output all exercises' answers. |
Abstract mother class of all short test sheets ! The constructor only has to be reimplemented, it is useless to reimplement other methods.
Definition at line 33 of file StructureShortTest.py.
def sheet::StructureShortTest::StructureShortTest::__init__ | ( | self, | ||
embedded_machine, | ||||
options | ||||
) |
/!\ Must be redefined.
Constructor.
embedded_machine | The machine to be used | |
**options | Any options |
Reimplemented from sheet::Structure::Structure.
Reimplemented in sheet::AlgebraShortTest::AlgebraShortTest, sheet::AlgebraTest::AlgebraTest, sheet::AlgebraTest2::AlgebraTest2, sheet::EquationsShortTest::EquationsShortTest, and sheet::EquationsTest::EquationsTest.
Definition at line 44 of file StructureShortTest.py.
def sheet::StructureShortTest::StructureShortTest::write_answers_title | ( | self | ) |
Writes to the output title of the answers' sheet to be generated This title is written in a LARGE size & bolded.
Two new lines follow it
Reimplemented from sheet::Structure::Structure.
Definition at line 128 of file StructureShortTest.py.
def sheet::StructureShortTest::StructureShortTest::write_output | ( | self | ) |
Writes the whole sheet's content to the output.
The whole sheet's content is :
Reimplemented from sheet::Structure::Structure.
Definition at line 66 of file StructureShortTest.py.
def sheet::StructureShortTest::StructureShortTest::write_sheet_header | ( | self | ) |
Writes to the output the header of the sheet to be generated This header is written in a large size.
A new line follow it. It's useful to write headers for test sheets, for example.
Reimplemented from sheet::Structure::Structure.
Definition at line 99 of file StructureShortTest.py.
def sheet::StructureShortTest::StructureShortTest::write_sheet_title | ( | self | ) |
Writes to the output the title of the sheet to be generated This title is written in a LARGE size & bolded.
Two new lines follow it
Reimplemented from sheet::Structure::Structure.
Definition at line 112 of file StructureShortTest.py.