|
CoxIter 1.3
CoxIter - Computing invariants of hyperbolic Coxeter groups
|
Class to perform the tests. More...
#include <tests.h>
Public Member Functions | |
| Tests () | |
| bool | readGraphsFile (string inputFilename) |
| Read the graph which contains the tests. | |
| bool | runTests () |
| Perform the tests. | |
| string | get_error () const |
| vector< Test > | get_tests () const |
| unsigned int | get_testsCount () const |
Private Member Functions | |
| bool | runTests_computations (const unsigned int &testIndex, CoxIter *ci) |
| void | runTests_arithmeticity (const unsigned int &testIndex, CoxIter *ci) |
| void | runTests_cocompactness_cofiniteness (const unsigned int &testIndex, CoxIter *ci) |
| void | runTests_growth (const unsigned int &testIndex, CoxIter *ci) |
| void | runTests_signature (const unsigned int &testIndex, CoxIter *ci, const unsigned int &dim) |
| void | runTests_euler (const unsigned int &testIndex, CoxIter *ci) |
| void | runTests_fVector (const unsigned int &testIndex, CoxIter *ci) |
| void | runTestsError (const unsigned int &testIndex, const string &test, const string &expected, const string &computed) |
| void | runTests_init () |
| void | runTests_displayInfo () |
| string | strIntToString (const int &i) |
| [*, 0, 1] => "?", "no", "yes" | |
Private Attributes | |
| string | error |
| Eventually, error code. | |
| string | inputFilename |
| File which contains the tests. | |
| vector< Test > | tests |
| Tests toi be performed. | |
| ofstream | of |
| Output to file. | |
| map< string, array< unsigned int, 2 > > | testsSucceded |
| For each test, number of success, failure. | |
| map< string, string > | testDescription |
| For each test, description. | |
| unsigned int | testsUnknownErrors |
| Number of other errors. | |
Class to perform the tests.
| Tests::Tests | ( | ) |
| string Tests::get_error | ( | ) | const |
| vector< Test > Tests::get_tests | ( | ) | const |
| unsigned int Tests::get_testsCount | ( | ) | const |
| Tests::readGraphsFile | ( | string | inputFilename | ) |
Read the graph which contains the tests.
| inputFilename(string) | File to read |
| Tests::runTests | ( | ) |
Perform the tests.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
[*, 0, 1] => "?", "no", "yes"
|
private |
Eventually, error code.
|
private |
File which contains the tests.
|
private |
Output to file.
|
private |
For each test, description.
|
private |
For each test, number of success, failure.
|
private |
Number of other errors.