START_SECTION(String getSourceClassificationName(Source_Classification classification=NUMBER_OF_SOURCE_CLASSIFICATIONS) const) ptr->setSourceClassification(ResidueModification::ARTIFACT); TEST_STRING_EQUAL(ptr->getSourceClassificationName(), "Artefact") ptr->setSourceClassification(ResidueModification::NATURAL); TEST_STRING_EQUAL(ptr->getSourceClassificationName(), "Natural") ptr->setSourceClassification(ResidueModification::HYPOTHETICAL); TEST_STRING_EQUAL(ptr->getSourceClassificationName(), "Hypothetical") TEST_STRING_EQUAL(ptr->getSourceClassificationName(ResidueModification::ARTIFACT), "Artefact") TEST_STRING_EQUAL(ptr->getSourceClassificationName(ResidueModification::NATURAL), "Natural") TEST_STRING_EQUAL(ptr->getSourceClassificationName(ResidueModification::HYPOTHETICAL), "Hypothetical") END_SECTION START_SECTION(void setAverageMass(double mass)) ptr->setAverageMass(2.0); TEST_REAL_SIMILAR(ptr->getAverageMass(), 2.0) END_SECTION START_SECTION(double getAverageMass() const) NOT_TESTABLE END_SECTION START_SECTION(void setMonoMass(double mass)) ptr->setMonoMass(3.0); TEST_REAL_SIMILAR(ptr->getMonoMass(), 3.0) END_SECTION START_SECTION(double getMonoMass() const) NOT_TESTABLE END_SECTION