ProteoWizard
Classes | Functions
DemuxSolverTest.cpp File Reference
#include "pwiz/analysis/demux/DemuxSolver.hpp"
#include "pwiz/utility/misc/Std.hpp"
#include "pwiz/utility/misc/unit.hpp"

Go to the source code of this file.

Classes

class  DemuxSolverTest
 

Functions

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

Function Documentation

◆ main()

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

Definition at line 145 of file DemuxSolverTest.cpp.

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

146 {
147  TEST_PROLOG(argc, argv)
148 
149  try
150  {
151  DemuxSolverTest tester;
152  tester.Run();
153  }
154  catch (exception& e)
155  {
156  TEST_FAILED(e.what())
157  }
158  catch (...)
159  {
160  TEST_FAILED("Caught unknown exception.")
161  }
162 
164 }
#define TEST_EPILOG
Definition: unit.hpp:183
#define TEST_FAILED(x)
Definition: unit.hpp:177
#define TEST_PROLOG(argc, argv)
Definition: unit.hpp:175