![]() |
PhoenixLecture
2.0.0
Set of tools to make lectures
|
Go to the source code of this file.
Functions | |
template<typename T > | |
void | checkSimpleDataMessage (const std::string &nameOfType) |
Check the sime data message of a given type. More... | |
int | main (int argc, char **argv) |
void | testSimpleDataMessage () |
Test if data size is Ok. More... | |
void | testStringDataMessage () |
Test if data size is Ok. More... | |
void checkSimpleDataMessage | ( | const std::string & | nameOfType | ) |
Check the sime data message of a given type.
nameOfType | : name of the type to be checked assert on fail |
Definition at line 17 of file main.cpp.
References checkValue(), data_message_load(), data_message_save(), data_size(), and data_stream_assert.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 62 of file main.cpp.
References testSimpleDataMessage(), and testStringDataMessage().
void testSimpleDataMessage | ( | ) |
void testStringDataMessage | ( | ) |
Test if data size is Ok.
Definition at line 49 of file main.cpp.
References data_message_load(), data_message_save(), data_size(), and data_stream_assert.
Referenced by main().