6 #include "../testException.h" 7 #include "../../etvo/common/etvoException.h" 18 static bool TestAll(
const T & a,
const T& b,
const T & c)
28 std::cout <<
"Error in TestIS!"<< std::endl;
29 std::cout <<
"Num :" << e.Num() << std::endl;
30 std::cout <<
"Exception :" << e.Message() << std::endl;
35 std::cout <<
"Error in TestIS!" << std::endl;
36 std::cout <<
"Num :" << e2.Num() << std::endl;
37 std::cout <<
"Exception :" << e2.Message()<< std::endl;
40 catch (
const std::exception & ex)
42 std::cout <<
"Error in TestIS!" << std::endl;
43 std::cout <<
"Exception :" << ex.what() << std::endl;
49 static void print(
const T & a,
const T& b)
55 static void print(
const T & a,
const T& b,
const T& c)
63 static void Test3(
const T & a,
const T& b)
69 std::cout <<
"Error in TestIS::Test3" << std::endl;
78 static void Test2(
const T & a,
const T& b,
const T& c)
91 std::cout <<
"Error in TestIS::Test2" << std::endl;
100 std::cout <<
"Error in TestIS::Test2" << std::endl;
110 std::cout <<
"Error in TestIS::Test2" << std::endl;
119 static void Test1(
const T & a,
const T& b)
125 std::cout <<
"Error in TestIS::Test1" << std::endl;
Class to describe exceptions in etvo.
Definition: etvoException.h:25
Definition: testException.h:9