26 #include "../arithmeticity.h"
27 #include "../coxiter.h"
28 #include "../growthrate.h"
29 #include "../lib/numbers/mpz_rational.h"
30 #include "../lib/regexp.h"
31 #include "../signature.h"
88 map<string, array<unsigned int, 2>>
103 bool readGraphsFile(
string inputFilename);
122 const unsigned int &dim);
127 const string &expected,
const string &computed);
Main class for the work.
Definition: coxiter.h:74
Definition: mpz_rational.h:49
Class to perform the tests.
Definition: tests.h:80
void runTests_cocompactness_cofiniteness(const unsigned int &testIndex, CoxIter *ci)
map< string, string > testDescription
For each test, description.
Definition: tests.h:90
void runTests_signature(const unsigned int &testIndex, CoxIter *ci, const unsigned int &dim)
unsigned int testsUnknownErrors
Number of other errors.
Definition: tests.h:91
ofstream of
Output to file.
Definition: tests.h:86
string inputFilename
File which contains the tests.
Definition: tests.h:83
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_euler(const unsigned int &testIndex, CoxIter *ci)
unsigned int get_testsCount() const
vector< Test > get_tests() const
bool runTests()
Perform the tests.
void runTests_growth(const unsigned int &testIndex, CoxIter *ci)
bool runTests_computations(const unsigned int &testIndex, CoxIter *ci)
string error
Eventually, error code.
Definition: tests.h:82
void runTests_arithmeticity(const unsigned int &testIndex, CoxIter *ci)
vector< Test > tests
Tests toi be performed.
Definition: tests.h:84
void runTests_displayInfo()
map< string, array< unsigned int, 2 > > testsSucceded
For each test, number of success, failure.
Definition: tests.h:89
string strIntToString(const int &i)
[*, 0, 1] => "?", "no", "yes"
Contains information to perform a test.
Definition: tests.h:52
bool testCompacity
True if we test the cocompacity.
Definition: tests.h:61
bool testArithmeticity
True if we test the arithmeticity.
Definition: tests.h:64
vector< unsigned int > fVector
Theoretical value.
Definition: tests.h:59
bool isFiniteVolume
True if finite covolume.
Definition: tests.h:63
bool testGrowthSeries
Definition: tests.h:67
MPZ_rational brResult
Theoretical Euler characteristic.
Definition: tests.h:56
string filename
Path to the .coxiter file.
Definition: tests.h:53
bool isArithmetic
True if arithmetic.
Definition: tests.h:65
bool testFVector
If we have to check the f-vector.
Definition: tests.h:58
vector< unsigned int > growthSeries_cyclotomicNumerator
Definition: tests.h:72
string growthRate
Empty or the growth rate.
Definition: tests.h:74
bool isCompact
True if the group is cocompact, false otherwise.
Definition: tests.h:62
vector< mpz_class > growthSeries_polynomialDenominator
Definition: tests.h:69
bool testEuler
If we have to check the Euler characteristic.
Definition: tests.h:55