ProteoWizard
Classes | Functions
DemuxHelpersTest.cpp File Reference
#include "pwiz/analysis/demux/DemuxHelpers.hpp"
#include "pwiz/data/msdata/examples.hpp"
#include "pwiz/utility/misc/Std.hpp"
#include "pwiz/utility/misc/unit.hpp"
#include "DemuxTypes.hpp"

Go to the source code of this file.

Classes

class  DemuxHelpersTest
 

Functions

int main (int argc, char *argv[])
 

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 377 of file DemuxHelpersTest.cpp.

References DemuxHelpersTest::Run(), TEST_EPILOG, TEST_FAILED, and TEST_PROLOG.

378 {
379  TEST_PROLOG(argc, argv)
380 
381  try
382  {
383  DemuxHelpersTest tester;
384  tester.Run();
385  }
386  catch (exception& e)
387  {
388  TEST_FAILED(e.what())
389  }
390  catch (...)
391  {
392  TEST_FAILED("Caught unknown exception.")
393  }
394 
396 }
#define TEST_EPILOG
Definition: unit.hpp:183
#define TEST_FAILED(x)
Definition: unit.hpp:177
#define TEST_PROLOG(argc, argv)
Definition: unit.hpp:175