sources/modules/Tests.cpp file

implements some tests for checking some features of the program

Functions

void test(std::string msg, bool exp)
prints message and ok/failed depending on whether exp is true or false
template<typename Coeff>
auto Test_ChainConversion(const int& details) -> bool
test for converting chains back into complexes (Chain.h)
template<typename Coeff>
auto Test_Cob(const int& details) -> bool
test for cobordism category (Cob.h)
template<typename Coeff>
auto Test_Complex(const int& details) -> bool
test for complexes (Complex.h)
template<typename Coeff>
auto Test_PrecomputedAlgebra(const int& details = 0) -> bool
test for precomputed algebra (Cob.h)

Function documentation

template<typename Coeff>
bool Test_PrecomputedAlgebra(const int& details = 0)

test for precomputed algebra (Cob.h)

test for sparse matrices