ProteoWizard
Classes | Functions
SpectrumPeakExtractorTest.cpp File Reference
#include "pwiz/analysis/demux/SpectrumPeakExtractor.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  SpectrumPeakExtractorTest
 

Functions

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

Function Documentation

◆ main()

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

Definition at line 129 of file SpectrumPeakExtractorTest.cpp.

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

130 {
131  TEST_PROLOG(argc, argv)
132 
133  try
134  {
136  tester.Run();
137  }
138  catch (exception& e)
139  {
140  TEST_FAILED(e.what())
141  }
142  catch (...)
143  {
144  TEST_FAILED("Caught unknown exception.")
145  }
146 
148 }
#define TEST_EPILOG
Definition: unit.hpp:183
#define TEST_FAILED(x)
Definition: unit.hpp:177
#define TEST_PROLOG(argc, argv)
Definition: unit.hpp:175