The TestUI class Test mit rationalen Zahlen Benutzerschnittstelle. More...
#include <x017.h>
Public Types | |
| using | Rational = nmx::apps::x017::Rational |
| using | Test = nmx::apps::x017::TestGenerator< Rational > |
Public Member Functions | |
| TestUI (size_t maxq, const Test::DataC &data) | |
| TestUI Konstruktor. More... | |
| void | run () |
| run Interaktion mit dem Benutzer More... | |
| Rational | read (const std::string &answer) |
| read Lese Antwort des Benutzers More... | |
Static Public Member Functions | |
| static std::string | to_string (const Test::Question &q) |
| to_string Umwandlung Frage in Zeichenkette More... | |
Public Attributes | |
| Test | test |
| size_t | _score = 0 |
| const size_t | _maxScore |
Static Public Attributes | |
| static const std::array< std::string, 4 > | ops { "+", "-", "*", "/" } |
The TestUI class Test mit rationalen Zahlen Benutzerschnittstelle.
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
1.8.13