ProteoWizard
Functions | Variables
SearchNeighborhoodCalculatorTest.cpp File Reference
#include "SearchNeighborhoodCalculator.hpp"
#include "pwiz/utility/misc/unit.hpp"
#include "pwiz/utility/minimxml/XMLWriter.hpp"

Go to the source code of this file.

Functions

void testNormalDistribution ()
void test ()
int main (int argc, char *argv[])

Variables

ostream * os_ = 0

Function Documentation

void testNormalDistribution ( )

Definition at line 36 of file SearchNeighborhoodCalculatorTest.cpp.

Referenced by main().

{
// TODO
// Test that folded normal distribution is correctly calculated from normal distribution parameters
// Test that scoring function is correct
}
void test ( )
int main ( int  argc,
char *  argv[] 
)

Definition at line 68 of file SearchNeighborhoodCalculatorTest.cpp.

References e(), os_, test(), and testNormalDistribution().

{
try
{
if (argc>1 && !strcmp(argv[1],"-v")) os_ = &cout;
if (os_) *os_ << "SearchNeighborhoodCalculatorTest: " << endl;
test();
}
catch (std::exception& e)
{
cerr << e.what() << endl;
return 1;
}
catch (...)
{
cerr << "Caught unknown exception.\n";
return 1;
}
}

Variable Documentation

ostream* os_ = 0

Definition at line 34 of file SearchNeighborhoodCalculatorTest.cpp.