5 #include "../../etvo/common/etvoException.h" 6 #include "../testException.h" 19 static bool TestAll(
const T & a,
const T& b)
30 std::cout <<
"Error in TestKleene!" << std::endl;
31 std::cout <<
"Exception :" << e.Message() << std::endl;
36 std::cout <<
"Error in TestKleene!" << std::endl;
37 std::cout <<
"Exception :" << e2.Message() << std::endl;
40 catch (
const std::exception & ex)
42 std::cout <<
"Error in TestKleene!" << std::endl;
43 std::cout <<
"Exception :" << ex.what() << std::endl;
49 static void print(
const T & a)
54 static void Test1(
const T & a)
58 T y = stara.lfrac(stara);
59 T z = stara.rfrac(stara);
72 throw testException(201,
"Test1b");
79 throw testException(201,
"Test1c");
84 static void Test2(
const T & a)
94 throw testException(205,
"Test2a");
99 throw testException(205,
"Test2b");
107 throw testException(205,
"Test2c");
112 throw testException(205,
"Test2d");
Class to describe exceptions in etvo.
Definition: etvoException.h:25
Definition: testException.h:9
Definition: TestKleene.h:15
static bool TestAll(const T &a, const T &b)
a Gain 1, b Gain free
Definition: TestKleene.h:19