47 if (
os_) *
os_ <<
"Null IsotopeCalculator* check ok.\n";
51 throw runtime_error(
"Failed to check for null IsotopeCalculator*.");
57 const double abundanceCutoff = .01;
58 const double massPrecision = .1;
67 for (
int mass=100; mass<=3000; mass+=100)
74 int main(
int argc,
char* argv[])
80 if (argc>1 && !strcmp(argv[1],
"-v"))
os_ = &cout;
81 if (
os_) *
os_ <<
"IsotopeEnvelopeEstimatorTest\n";
void testInstantiationWithNull()
int main(int argc, char *argv[])
Class used for calculating a theoretical isotope envelope for a given mass, based on an estimate of t...
MassDistribution isotopeEnvelope(double mass) const
#define TEST_PROLOG(argc, argv)
const IsotopeCalculator * isotopeCalculator