GSE++ library: reading and writing GSE waveforms

◆ main()

int main ( )

Main program calling all test functions.

Definition at line 280 of file gsexx_tests.cc.

References GSE2::Terror::message(), GSE2::Terror::silent, GSE2::tests::test_chk2(), GSE2::tests::test_dat2cm6(), and GSE2::tests::test_diff().

281 {
282  std::cout << "This is a program to test the GSE2-module components." <<
283  std::endl;
284 
286  try {
287  // test differences
289  // test checksums
291  // test dat2 subformat cm6
293  } catch (GSE2::Terror& e) {
294  std::cerr << e.message() << std::endl;
295  }
296 }
void test_diff()
Test the template metaprograms that apply and remove differences.
Definition: gsexx_tests.cc:77
const std::string & message() const
return error message
Definition: gsexx.h:75
void test_chk2()
Test the TCHK2 class.
Definition: gsexx_tests.cc:126
Base class for all exceptions in this module.
Definition: gsexx.h:68
void test_dat2cm6()
Definition: gsexx_tests.cc:163
static bool silent
be silent?
Definition: gsexx.h:77
Here is the call graph for this function: