35 cout <<
"Test of Numbers..." <<
flush;
42 afO << aui << ai << af << ad;
51 afI >> bui >> bi >> bf >> bd;
53 bool status((aui==bui) && (ai==bi) && (af==bf) && (ad==bd));
61 cout <<
"Test of AVec..." <<
flush;
73 bool status((b.getSize() == bn.getSize()) &&
75 (b.position == bn.position));
83 cout <<
"Test of String..." <<
flush;
84 std::string b(
"Hello!!");
104 cout <<
"Test of Block..." <<
flush;
110 afO << ai << af << ad;
118 afI >> bi >> bf >> bd;
120 bool status((ai == bi) && (af == bf) && (ad == bd));
128 bool allTestsPassed(
true);
135 return allTestsPassed ? EXIT_SUCCESS : EXIT_FAILURE;
void errorMessage(cl_int status, const char *errorMessage)
Prints errorMessage and exits depending on the status.
definition of class АVec<T>
ABD (ASL Binary Dump) file, output.
ABD (ASL Binary Dump) file, input.